2017 © Pedro Peláez
 

library rbac

NIST-2 RBAC Authorization library

image

centiq/rbac

NIST-2 RBAC Authorization library

  • Monday, October 5, 2015
  • by robertpitt
  • Repository
  • 1 Watchers
  • 1 Stars
  • 74 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 7 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

RBAC

Build Status, (*1)

Important!

This package is still currently under heavy development, please do not until the package is in a stable state., (*2)

What is RBAC?

In computer systems security, role-based access control (RBAC) is an approach to restricting system access to authorized users. It is used by the majority of enterprises with more than 500 employees,[3] and can implement mandatory access control (MAC) or discretionary access control (DAC). RBAC is sometimes referred to as role-based security., (*3)

Source: Wikipedia, (*4)

Design

Centiq RBAC provides NIST Level 2 Standard Hierarchical Role Based Access Control in an easy to use library that meets core php standards., (*5)

This library provides the following core abilities * Create many Roles * Role <> Role Inheritance * Create many Permissions * Permission <> Permission Inheritance, (*6)

Basic Usage

require 'vendor/autoload.php'

//Create a connection to the database
$connection = new PDO("mysql:dbname=rbac_main;host=localhost");

//Create a manager instance
$manager = new \Centiq\RBAC\Manager($connection);

//Fetch the root role
$root = $manager->getRootRole();

//Create a child role
$child = $root->createChild("child", "My first child role");

Setup and Installation

  • @todo, Composer Install
  • @todo, Database Installation
  • @todo, Include autoloader
  • @todo, Instantiate Manager Entity

Authors

The Versions

05/10 2015

dev-master

9999999-dev

NIST-2 RBAC Authorization library

  Sources   Download

GPL

by Robert Pitt

10/02 2014

dev-model

dev-model

RBAC Authorization library

  Sources   Download

GPL

by Robert Pitt