Skip to content

Commit

Permalink
Updated description and badges
Browse files Browse the repository at this point in the history
  • Loading branch information
visto9259 committed Aug 8, 2024
1 parent 3a1a537 commit e5c52ec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@


[![Build Status](https://github.com/lm-commons/LmcRbac/actions/workflows/build_test.yml/badge.svg)](https://github.com/lm-commons/LmcRbac/actions/workflows/build_test.yml)
[![Latest Stable Version](https://poser.pugx.org/lm-commons/zfrrbac/v/stable.png)](https://packagist.org/packages/zfr/rbac)
[![Total Downloads](https://poser.pugx.org/lm-commons/zfrrbac/downloads.png)](https://packagist.org/packages/zfr/rbac)
[![Latest Stable Version](http://poser.pugx.org/lm-commons/lmc-zfr-rbac/v)](https://packagist.org/packages/lm-commons/lmc-zfr-rbac)
[![Total Downloads](http://poser.pugx.org/lm-commons/lmc-zfr-rbac/downloads)](https://packagist.org/packages/lm-commons/lmc-zfr-rbac)
[![License](http://poser.pugx.org/lm-commons/lmc-zfr-rbac/license)](https://packagist.org/packages/lm-commons/lmc-zfr-rbac)
[![Coverage Status](https://coveralls.io/repos/github/LM-Commons/LmcZfrRbac/badge.svg?branch=1.x)](https://coveralls.io/github/LM-Commons/LmcZfrRbac?branch=1.x)
[![Static Badge](https://img.shields.io/badge/Chat_on-Slack-blue)](https://join.slack.com/t/lm-commons/shared_invite/zt-2gankt2wj-FTS45hp1W~JEj1tWvDsUHQ)

**IMPORTANT** The only purpose of this package is to provide a version of zfr/rbac 1.2 that
support PHP 8 and fixes the deprecation notices.
![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2Flm-commons%2Flmczfrrbac%2Fproperties%2Fvalues&query=%24%5B%3A1%5D.value&label=Maintenance%20Status)

Rbac (not to be confused with ZfcRbac) is a pure PHP implementation of the RBAC (*Role based access control*)
### **IMPORTANT!!**
### The only purpose of this package is to provide a version of zfr/rbac 1.2 that support PHP 8 and fixes the deprecation notices.

Rbac (not to be confused with ZfcRbac/LmcRbac) is a pure PHP implementation of the RBAC (*Role based access control*)
concept. Actually, it is a Zend Framework 3 prototype of the ZF2 Zend\Permissions\Rbac component.

It aims to fix some design mistakes that were made to make it more usable and more efficient.
Expand All @@ -24,4 +29,4 @@ To properly check if a role is granted, you should use the `isGranted` method of
* `Rbac` class is no longer a container. Instead, it just has a `isGranted` method. The container was complex to
properly handle because of role duplication, which could lead to security problems if not used correctly.

This library is used in ZfcRbac 2.0
This library is used in LM-Commons/LmcRbacMvc v3.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "lm-commons/lmc-zfr-rbac",
"description": "Clone of zfr/rbac v1.2",
"description": "Clone of zfr/rbac v1.2.0 for PHP 8 support",
"type": "library",
"license": "MIT",
"keywords": [
"zf2",
"zf3",
"laminas",
"rbac",
"security"
],
Expand Down

0 comments on commit e5c52ec

Please sign in to comment.