summaryrefslogtreecommitdiffstats
path: root/web/lib/credentials.inc.php
AgeCommit message (Collapse)AuthorFilesLines
2014-07-15Add a new user group "Trusted User & Developer"Lukas Fleischer1-4/+8
This group has full permissions on everything. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2014-07-15Rework permission handlingLukas Fleischer1-0/+76
Add a new function has_credential() that checks whether the currently logged in user is allowed to perform a given action. Moving all permission handling to this central place makes adding new user groups and adjusting permissions much more convenient. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>