php - Can you use RBAC to set individual permissions for each group? -
i have been investigating best method create complex permission based system , using yii2
framework , noticed includes rbac
support, not sure if right situation.
what looking guess similar forum system use can make groups , can select permissions each of groups allowed do.
i have noticed rbac
add roles
, if add , admin
, author
example can add author
child
of admin
, admin
can authors can + whatever other permissions give them.
do have or can permissions separately? adding author
child
of admin
quicker/cleaner way give admin
same permissions lower level group has , can add permissions on top?
i worry doing way though because if remove permission author
, of sudden admin
lose permission unless gain child or given separately.
can still utilise rbac
needs or should @ doing custom?
the rbac system of yii2 powerful, can effectly add yor group pemission parent , later if need revoke single permission the child group can add need when , how need.
Comments
Post a Comment