summaryrefslogtreecommitdiffstats
path: root/modules-available/permissionmanager
Commit message (Collapse)AuthorAgeFilesLines
* Introduce JS helper for bootstrap confirm dialogs on button-submitSimon Rettberg2019-03-251-28/+7Star
|
* Fix UUID handling; refactor constraints for machineuuidSimon Rettberg2019-02-211-20/+10Star
|
* [permissionmanager] Improve commentSimon Rettberg2018-05-071-1/+1
|
* [inc/Module] Overhaul dependency loading and handling of js/cssSimon Rettberg2018-04-131-3/+7
| | | | This is supposed to prevent unneeded js/css from being pulled in
* [permissionmanager] Add role description field; install some default rulesSimon Rettberg2018-04-138-35/+156
| | | | Closes #3356
* [permissionmanager] Preselect all locations when adding new roleSimon Rettberg2018-04-131-1/+1
|
* [permissionmanager] Introduce dedicated "permission denied" pageSimon Rettberg2018-03-295-3/+44
| | | | Closes #3350
* [permissionmanager] fixed tree issue with deselecting parent-permissions ↵permission-managerChristian Hofmaier2018-03-271-0/+9
| | | | (Ticket: #3327)
* [permissionmanager] PermissionDbUpdate::saveRole(): handle empty listsSimon Rettberg2018-03-051-8/+12
|
* [adduser] Support setting user's roles on add/editSimon Rettberg2018-02-232-5/+46
|
* [permissionmanager] Ensure uniqueness in role_x_location table, consistent ↵Simon Rettberg2018-02-204-27/+47
| | | | table naming, drop unused id field
* [permissionmanager] Fix location table displaySimon Rettberg2018-02-201-1/+1
|
* [permissionmanager] Implement permissions:Simon Rettberg2018-02-1914-49/+153
| | | | | | | 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)
* [permissionmanager] Force lowercase permissions, handle locId 0 properlySimon Rettberg2018-02-162-3/+14
|
* [permissionmanager] Fix: False positive for perm validity checkSimon Rettberg2018-02-141-0/+2
|
* [permissionmanager] Apply formattingSimon Rettberg2018-02-144-52/+60
|
* [permissionmanager] Speed up queries for saving roles and assignmentsSimon Rettberg2018-02-141-12/+18
|
* [permissionmanager] Slightly more efficient queries, wildcard support, debug ↵Simon Rettberg2018-02-132-38/+142
| | | | mode, comments
* [permissionmanager] Add global translation pluginSimon Rettberg2018-02-131-0/+38
|
* [permissionmanager] GetPermissionData: Fix code style, simplify getRoles()Simon Rettberg2018-02-121-18/+15Star
|
* [permissionmanager] getPermissions(): Only consider permissions for active ↵Simon Rettberg2018-02-121-5/+14
| | | | modules
* [permissionmanager] Tweak style, fix role filtering (and make it AND), minor ↵Simon Rettberg2018-02-1215-276/+184Star
| | | | cleanups
* [permissionmanager] Introduce "location-aware" flag for permissionsSimon Rettberg2018-02-126-63/+62Star
| | | | | | | | | | This flag tells wether the permission can be restricted to certain locations in a meaningful way. This flag has to be set in the permissions.json of the according module. For example, the permission to reboot the server cannot be limited to certain locations in a meaningful way, while the view of the client log can be filtered to only show log entries for clients in specific locations.
* [permissionmanager] Sanitize language tag namesSimon Rettberg2018-01-118-44/+44
|
* [permissionmanager] bugfix + added locationid 0 to the getAllowedLocationsUdo Walter2017-12-271-9/+9
| | | | result array if the user has locationid 0 for this permission
* [permissionmanager] removed openRoleEdior function;Udo Walter2017-12-2113-102/+233
| | | | | | | | changed searchFieldFunction() to use jQuery; fixed checkboxes in roleeditor not selecting on a click on the label; added selected row highlighting; disabled buttons if there are no users/roles selected; made role badges in user/location tables clickable; added phpdoc comments to most php functions;
* [permissionmanager] fixed small bugUdo Walter2017-12-191-4/+3Star
|
* Fix A LOT of type problems, logic flaws, uninitialized variables etc.Simon Rettberg2017-12-161-1/+0Star
| | | | | Most of them were found by phpstorm, so I put in some time and went through the list, fixing quite a bunch of them.
* [permissionmanager] removed alert from roleeditorUdo Walter2017-12-142-1/+6
|
* [permissionmanager] added support for localized permission descriptions;Udo Walter2017-12-075-8/+22
| | | | | moved add/delete buttons to the right; items in the user and locations table can now be selected by clicking anywhere in the table row;
* [permissionmanager] new permission and location chooser in roleeditorUdo Walter2017-11-309-228/+209Star
|
* [permissionmanager] fixed bug: role without locations was shown as role with ↵Udo Walter2017-11-212-7/+4Star
| | | | all locations;
* [permissionmanager] added key relationships to install script;Udo Walter2017-11-2112-148/+173
| | | | | changed nested php for loops to sql code; standardized sql column naming; small bugfixes;
* [locations] implemented new permission systemUdo Walter2017-10-031-1/+1
|
* [baseconfig][baseconfig_partitions_cdn][eventlog][minilinux][permissionmanag ↵Christian Hofmaier2017-09-296-30/+41
| | | | er][rebootcontrol][statisics_reporting][syslog] fixed inconsistencies
* [js_stupidtable] changed one-line code to formatted code;Udo Walter2017-05-154-18/+5Star
| | | | modified to show sorting arrows on columns and different mouse cursor on hover
* [permissionmanager] another small bugfixUdo Walter2017-04-251-3/+4
|
* [permissionmanager] bugfixUdo Walter2017-04-251-3/+6
|
* [permissionmanager] added possibility to get a list of allowed locations for ↵Udo Walter2017-04-256-72/+107
| | | | a given permission + bugfixes
* [permissionmanager] changed description to tooltipsUdo Walter2017-04-103-4/+13
|
* [permission-manager] moved multiple code, added text-search to rolesTableChristian Hofmaier2017-04-107-111/+84Star
|
* [permission-manager] added permission check functionality + bugfixesUdo Walter2017-04-104-13/+48
|
* Merge branch 'permission-manager' of git.openslx.org:openslx-ng/slx-admin ↵Christian Hofmaier2017-04-071-18/+2Star
|\ | | | | | | into permission-manager
| * [permission-manager] removed unused codeUdo Walter2017-04-071-18/+2Star
| |
* | [permission-manager] corrected wrong indentation for much better readabilityChristian Hofmaier2017-04-072-57/+57
|/
* [permission-manager] filter for roles in user and location table, changed ↵Christian Hofmaier2017-04-076-60/+193
| | | | structure of role-spans in both tables
* [permission-manager] renamed some files, moved html generation to templates,Udo Walter2017-04-0713-111/+136
| | | | using bind variables in mysql code, changed order of modules in role editor
* [permission-manager] added possibility to select all permissionsUdo Walter2017-03-315-14/+33
|
* [permission-manager] fixed hardcoded stringsUdo Walter2017-03-293-8/+18
|
* [permission-manager] first fill of location tableChristian Hofmaier2017-03-293-3/+41
|