aurweb/web/html
Lukas Fleischer 03c6304e19 Rework permission handling
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>
2014-07-15 22:56:57 +02:00
..
css Remove extra space from text buttons in Firefox 2014-07-02 08:28:08 +02:00
images Remove unused image "titlelogo.png" 2012-09-18 00:59:01 +02:00
js Use minified typeahead JS from archweb 2013-03-26 00:54:18 +01:00
404.php Display an error page if a virtual path doesn't exist 2012-10-20 18:28:17 +02:00
account.php Rework permission handling 2014-07-15 22:56:57 +02:00
addvote.php Rework permission handling 2014-07-15 22:56:57 +02:00
home.php Move user statistics table to the right 2014-07-01 21:17:14 +02:00
index.php Allow for selecting a reason when closing a request 2014-07-04 11:10:37 +02:00
login.php login.php: Properly link to logout page when already logged in 2012-11-24 13:20:35 +01:00
logout.php Remove unneeded database connection calls 2013-02-10 12:10:38 +01:00
packages.php Rework permission handling 2014-07-15 22:56:57 +02:00
passreset.php Do not return "None" in user functions 2014-06-05 15:12:10 +02:00
pkgbase.php Rework permission handling 2014-07-15 22:56:57 +02:00
pkgdel.php Rework permission handling 2014-07-15 22:56:57 +02:00
pkgmerge.php Rework permission handling 2014-07-15 22:56:57 +02:00
pkgreq.php Rework permission handling 2014-07-15 22:56:57 +02:00
pkgsubmit.php Check permissions when uploading source packages 2014-05-06 21:24:56 +02:00
rpc.php Provide more examples on the RPC info page 2011-08-22 08:24:21 +02:00
rss.php rss.php: Update links to reflect URL changes 2012-09-21 07:35:52 +02:00
tu.php Rework permission handling 2014-07-15 22:56:57 +02:00
voters.php Rework permission handling 2014-07-15 22:56:57 +02:00