diff options
author | Simon Rettberg | 2018-02-09 16:13:17 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-02-09 16:13:17 +0100 |
commit | cfa60bc6dc68699efb74342ead37865c074bc66a (patch) | |
tree | 6cb784505789838ddc3c470d1260ad3f651e3bf0 /modules-available | |
parent | Merge branch 'master' into permission-manager (diff) | |
download | slx-admin-cfa60bc6dc68699efb74342ead37865c074bc66a.tar.gz slx-admin-cfa60bc6dc68699efb74342ead37865c074bc66a.tar.xz slx-admin-cfa60bc6dc68699efb74342ead37865c074bc66a.zip |
Permissions: Introduce helper functions for common tasks
assertPermission ensures the user has a given permission and
halts execution otherwise.
addGlobalTags is a helper to fill an array for the rendering
process with tags associated with (missing) permissions.
Diffstat (limited to 'modules-available')
0 files changed, 0 insertions, 0 deletions