Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated description and badges #5

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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