Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [permissionmanager] Shorten permissionid to 100 chars | Simon Rettberg | 2022-07-06 | 1 | -1/+9 |
| | | | | | | | Upgrading to utf8mb4 fails on older InnoDB setups with a key length limited to 768 bytes. While we could/should probably upgrade these some time, limit the column length for now, as even 100 characters is excessive for a permission id. | ||||
* | [permissionmanager] Fix for PHP 8 | Simon Rettberg | 2022-03-09 | 1 | -1/+3 |
| | |||||
* | Moderize Database handling | Simon Rettberg | 2021-05-11 | 2 | -6/+6 |
| | | | | | | | * Auto-convert to utf8mb4_unicode_520_ci * Use foreach instead of while to loop over results * Drop useless statement caching * Keep emulated prepares, as we sometimes loop over nested queries | ||||
* | [permissionmanager] Add remoteaccess to default roles | Steffen Ritter | 2021-04-21 | 1 | -0/+2 |
| | |||||
* | [permissionmanager] Fix install always reporting UPDATE_DONE | Simon Rettberg | 2021-01-29 | 1 | -2/+4 |
| | |||||
* | [permissionmanager] Properly reset builtin roles on upgrade | Simon Rettberg | 2020-02-24 | 1 | -0/+3 |
| | |||||
* | [permissionmanager] Update translations | Simon Rettberg | 2020-01-14 | 2 | -0/+8 |
| | |||||
* | [permissionmanager] Also disallow deleting builtin roles | Simon Rettberg | 2020-01-14 | 2 | -11/+19 |
| | |||||
* | [permissionmanager] Make default roles "builtin" i.e. not modifiable | Simon Rettberg | 2020-01-09 | 7 | -27/+78 |
| | |||||
* | Fix some typos (found by codespell) | Stefan Weil | 2019-12-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Stefan Weil <sw@weilnetz.de> | ||||
* | [permissionmanager] Fix creating bogus negative cache entries | Simon Rettberg | 2019-11-05 | 1 | -12/+2 |
| | | | | | If a permission check for a location yielded false, a cache entry for all parent locations with value "false" was created as well. | ||||
* | [permissionmanager] Implement caching for permission checks | Simon Rettberg | 2019-08-01 | 1 | -12/+79 |
| | | | | | | | Some pages, like the location list, triggered excessive amounts of DB queries when checking permissions. In that specific case, the number of queries got cut down from 260 to 24, and the page generation time dropped from 150ms to 80ms. (On a setup with 62 locations) | ||||
* | Introduce JS helper for bootstrap confirm dialogs on button-submit | Simon Rettberg | 2019-03-25 | 1 | -28/+7 |
| | |||||
* | Fix UUID handling; refactor constraints for machineuuid | Simon Rettberg | 2019-02-21 | 1 | -20/+10 |
| | |||||
* | [permissionmanager] Improve comment | Simon Rettberg | 2018-05-07 | 1 | -1/+1 |
| | |||||
* | [inc/Module] Overhaul dependency loading and handling of js/css | Simon Rettberg | 2018-04-13 | 1 | -3/+7 |
| | | | | This is supposed to prevent unneeded js/css from being pulled in | ||||
* | [permissionmanager] Add role description field; install some default rules | Simon Rettberg | 2018-04-13 | 8 | -35/+156 |
| | | | | Closes #3356 | ||||
* | [permissionmanager] Preselect all locations when adding new role | Simon Rettberg | 2018-04-13 | 1 | -1/+1 |
| | |||||
* | [permissionmanager] Introduce dedicated "permission denied" page | Simon Rettberg | 2018-03-29 | 5 | -3/+44 |
| | | | | Closes #3350 | ||||
* | [permissionmanager] fixed tree issue with deselecting parent-permissions ↵permission-manager | Christian Hofmaier | 2018-03-27 | 1 | -0/+9 |
| | | | | (Ticket: #3327) | ||||
* | [permissionmanager] PermissionDbUpdate::saveRole(): handle empty lists | Simon Rettberg | 2018-03-05 | 1 | -8/+12 |
| | |||||
* | [adduser] Support setting user's roles on add/edit | Simon Rettberg | 2018-02-23 | 2 | -5/+46 |
| | |||||
* | [permissionmanager] Ensure uniqueness in role_x_location table, consistent ↵ | Simon Rettberg | 2018-02-20 | 4 | -27/+47 |
| | | | | table naming, drop unused id field | ||||
* | [permissionmanager] Fix location table display | Simon Rettberg | 2018-02-20 | 1 | -1/+1 |
| | |||||
* | [permissionmanager] Implement permissions: | Simon Rettberg | 2018-02-19 | 14 | -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 properly | Simon Rettberg | 2018-02-16 | 2 | -3/+14 |
| | |||||
* | [permissionmanager] Fix: False positive for perm validity check | Simon Rettberg | 2018-02-14 | 1 | -0/+2 |
| | |||||
* | [permissionmanager] Apply formatting | Simon Rettberg | 2018-02-14 | 4 | -52/+60 |
| | |||||
* | [permissionmanager] Speed up queries for saving roles and assignments | Simon Rettberg | 2018-02-14 | 1 | -12/+18 |
| | |||||
* | [permissionmanager] Slightly more efficient queries, wildcard support, debug ↵ | Simon Rettberg | 2018-02-13 | 2 | -38/+142 |
| | | | | mode, comments | ||||
* | [permissionmanager] Add global translation plugin | Simon Rettberg | 2018-02-13 | 1 | -0/+38 |
| | |||||
* | [permissionmanager] GetPermissionData: Fix code style, simplify getRoles() | Simon Rettberg | 2018-02-12 | 1 | -18/+15 |
| | |||||
* | [permissionmanager] getPermissions(): Only consider permissions for active ↵ | Simon Rettberg | 2018-02-12 | 1 | -5/+14 |
| | | | | modules | ||||
* | [permissionmanager] Tweak style, fix role filtering (and make it AND), minor ↵ | Simon Rettberg | 2018-02-12 | 15 | -276/+184 |
| | | | | cleanups | ||||
* | [permissionmanager] Introduce "location-aware" flag for permissions | Simon Rettberg | 2018-02-12 | 6 | -63/+62 |
| | | | | | | | | | | 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 names | Simon Rettberg | 2018-01-11 | 8 | -44/+44 |
| | |||||
* | [permissionmanager] bugfix + added locationid 0 to the getAllowedLocations | Udo Walter | 2017-12-27 | 1 | -9/+9 |
| | | | | result array if the user has locationid 0 for this permission | ||||
* | [permissionmanager] removed openRoleEdior function; | Udo Walter | 2017-12-21 | 13 | -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 bug | Udo Walter | 2017-12-19 | 1 | -4/+3 |
| | |||||
* | Fix A LOT of type problems, logic flaws, uninitialized variables etc. | Simon Rettberg | 2017-12-16 | 1 | -1/+0 |
| | | | | | 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 roleeditor | Udo Walter | 2017-12-14 | 2 | -1/+6 |
| | |||||
* | [permissionmanager] added support for localized permission descriptions; | Udo Walter | 2017-12-07 | 5 | -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 roleeditor | Udo Walter | 2017-11-30 | 9 | -228/+209 |
| | |||||
* | [permissionmanager] fixed bug: role without locations was shown as role with ↵ | Udo Walter | 2017-11-21 | 2 | -7/+4 |
| | | | | all locations; | ||||
* | [permissionmanager] added key relationships to install script; | Udo Walter | 2017-11-21 | 12 | -148/+173 |
| | | | | | changed nested php for loops to sql code; standardized sql column naming; small bugfixes; | ||||
* | [locations] implemented new permission system | Udo Walter | 2017-10-03 | 1 | -1/+1 |
| | |||||
* | [baseconfig][baseconfig_partitions_cdn][eventlog][minilinux][permissionmanag ↵ | Christian Hofmaier | 2017-09-29 | 6 | -30/+41 |
| | | | | er][rebootcontrol][statisics_reporting][syslog] fixed inconsistencies | ||||
* | [js_stupidtable] changed one-line code to formatted code; | Udo Walter | 2017-05-15 | 4 | -18/+5 |
| | | | | modified to show sorting arrows on columns and different mouse cursor on hover | ||||
* | [permissionmanager] another small bugfix | Udo Walter | 2017-04-25 | 1 | -3/+4 |
| | |||||
* | [permissionmanager] bugfix | Udo Walter | 2017-04-25 | 1 | -3/+6 |
| |