summaryrefslogtreecommitdiffstats
path: root/inc/permission.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* [locations] subnet inputs: disabled -> readonly; disable save buttonSimon Rettberg2019-05-231-1/+4
| | | | | | | There was unfinished code to disable the save button if there are no actions allowed to perform in the location detail box, which is now working. Also make the text inputs readonly instead of diabled if we're not allowed to edit them, so copy & paste still works.
* [permissionmanager] Implement permissions:Simon Rettberg2018-02-191-1/+1
| | | | | | | Permissinmanager is now protected by permissions. In order to prevent complete lockout, the user with userid == 1 will always be able to edit and assign permissions. (TODO: Communicate this somehow)
* [inc/Permission] Add readonly stringSimon Rettberg2018-02-141-2/+2
|
* Global: Only show "Warning" badge at the top if user can view event log,Simon Rettberg2018-02-141-1/+8
| | | | also hide warnings on the main page from modules the user has no access to
* [inc/Permission] Add parameter to helper; fix for querying foreign moduleSimon Rettberg2018-02-141-2/+11
|
* Permissions: Introduce helper functions for common tasksSimon Rettberg2018-02-091-0/+20
| | | | | | | 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.
* Big load of changesSimon Rettberg2014-10-091-3/+4
| | | | | | | | | | | - Added callback functionality for taskmanager tasks. You can launch a task and define a callback function to be run when the task finished. This requires activating the cronjob - Added cron functionality: Add cronjob that calls the cron api every 5 minutes to use it. (See cron.inc.php) - Added eventlog - Added missing translations - Merged main-menu-login and main-menu-logout
* Minor fixes and improvementsSimon Rettberg2014-10-061-12/+5Star
|
* First version of basic minilinux configurationSimon Rettberg2013-10-291-0/+25