You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that when a $lock->deny() is issued, a new record with type='restriction' and resource_type='privilege' is inserted.
Is it safe to consider all records with resource_type=privilege as restrictions?
EDIT
However, maybe the Driver itself should define specific methods to fetch this kind of information, in order to decouple from the database structure.
The text was updated successfully, but these errors were encountered:
I'm trying to fetch a list of all permissions, in order to build a backend.
I'm using this query to fetch all available permissions:
I've noticed that when a
$lock->deny()
is issued, a new record withtype='restriction'
andresource_type='privilege'
is inserted.Is it safe to consider all records with
resource_type=privilege
as restrictions?EDIT
However, maybe the Driver itself should define specific methods to fetch this kind of information, in order to decouple from the database structure.
The text was updated successfully, but these errors were encountered: