Skip to content

(feat) permissions rbac 600

Dynamic calculation of Mind's entities using flags defined in Zend's RBAC framework

Just the roles right now, will be adding permissions as we go.

Setup a new manager that takes a user and a list of entities.

Based on the user's relationship to the entity, it will return a Role object with all the derived flags

It returns a Permissions object which contains the Channels and the user's role within that channel Groups and the user's role within that group The entities themselves and the user's role for that entity

Full exportable as json on /v2/permissions/roles/{user guid}?guids[]=entity_guid&guids[]=entity_guid

Edited by Brian Hatchet

Merge request reports

Loading