2017 © Pedro Peláez
 

opus-package auth

RBAC/ACL auth for the Hiraeth Nano-Framework

image

hiraeth/auth

RBAC/ACL auth for the Hiraeth Nano-Framework

  • Friday, June 1, 2018
  • by mattsah
  • Repository
  • 1 Watchers
  • 0 Stars
  • 73 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 22 % Grown

The README.md

Imarc's RBAC/ACL implementation provides robust role-based authentication and configuration of permissions which can be checked dynamically on any entity as well as by providing configuration based access control lists., (*1)

Installation

composer require hiraeth/auth

The auth.jin configuration will be automatically copied to your config directory via opus., (*2)

Delegates

No delegates are included in this package., (*3)

Providers

Operative Interface Provides
iMarc\Auth\ManagedInterface iMarc\Auth\Manager
iMarc\Auth\Manager Configuration of access control lists

Configuration

[auth]

; Aliases enable to combination of multiple permitted actions into a single
; action.  The key is the alias for the actions and the value is an array of
; actions which it also permits.

aliases = {
;   "manage": ["create", "read", "update", "delete"]
}

; Access control lists.  Each entry in the acls list is keyed by the role.
; The value is then an object containing permitted actions (arrays of actions)
; for the keyed targets.

acls = {
;   "admin": {
;       "User" : ["manage"]
;   }
}

The [auth] section is globally recognized, so it can be added to any configuration file in the system to add additional roles and permissions. Each [auth] section constitutes a distinct ACL, so aliases will only apply to the acls defined in the same section., (*4)

Usage

See the Auth documentation for more information on how to use the auth manager and check roles/permissions., (*5)

The Versions

01/06 2018

dev-master

9999999-dev

RBAC/ACL auth for the Hiraeth Nano-Framework

  Sources   Download

MIT

The Requires

 

by Matthew J. Sahagian

01/06 2018

1.2.0

1.2.0.0

RBAC/ACL auth for the Hiraeth Nano-Framework

  Sources   Download

MIT

The Requires

 

by Matthew J. Sahagian

12/02 2018

1.1.0

1.1.0.0

RBAC/ACL auth for the Hiraeth Nano-Framework

  Sources   Download

MIT

The Requires

 

by Matthew J. Sahagian

22/06 2017

1.0.2

1.0.2.0

RBAC/ACL auth for the Hiraeth Nano-Framework

  Sources   Download

MIT

The Requires

 

by Matthew J. Sahagian

21/06 2017

1.0.1

1.0.1.0

RBAC/ACL auth for the Hiraeth Nano-Framework

  Sources   Download

MIT

The Requires

 

by Matthew J. Sahagian

19/06 2017

1.0.0

1.0.0.0

RBAC/ACL auth for the Hiraeth Nano-Framework

  Sources   Download

MIT

The Requires

 

by Matthew J. Sahagian