[Owasp-phprbac] How to adding Rule to a permission? (such as author rule)

Nguyen Nam namhongvinh at gmail.com
Mon Sep 17 07:53:11 UTC 2018

Do we has feature such as adding Rule to a permission?
Let's images that we has a post Editor Role (with permissions as follow
create/ update/ delete a post )
To pass checking permissions Update and delete a post, user needs:

   - Be assigned to 2 two permissons
   - Need to be the author of the current post (Rule is a peace of code
   which do logic, ex: $post->created_by = $currentUserId) ==> So how to do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/owasp-phprbac/attachments/20180917/0c7bfc44/attachment.html>

More information about the Owasp-phprbac mailing list