From e5c52ec62c62af6fc6257eb77df99b46cb848b48 Mon Sep 17 00:00:00 2001 From: "Eric Richer eric.richer@vistoconsulting.com" Date: Thu, 8 Aug 2024 17:55:17 -0400 Subject: [PATCH] Updated description and badges --- README.md | 17 +++++++++++------ composer.json | 3 ++- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index cf8d643..a5e826e 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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. diff --git a/composer.json b/composer.json index 9f02f3d..a9cd37f 100644 --- a/composer.json +++ b/composer.json @@ -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" ],