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 created a baucis extension that is similar to yours in that it relies on extra meta data. baucis-gform provides metadata to rapidly create an administration ui for mongoose data (and others).
In order to take advantage of your extension to hide/disable properties according to the current role, I need to discover the the access rule of a type/property for the current user. How do I do that?
Is there something like the following?
varaccess=controller('vegetable').getCurrentAccess()// returns access for current user and typeif(access.read==false){// mongoose entities not visible to curent user.}controller('vegetable').getCurrentAccess('name')// returns access for current user and property
The text was updated successfully, but these errors were encountered:
I created a baucis extension that is similar to yours in that it relies on extra meta data. baucis-gform provides metadata to rapidly create an administration ui for mongoose data (and others).
In order to take advantage of your extension to hide/disable properties according to the current role, I need to discover the the access rule of a type/property for the current user. How do I do that?
Is there something like the following?
The text was updated successfully, but these errors were encountered: