Commit Graph

10 Commits

Author SHA1 Message Date
Nils Asmussen
21b2f587d5 Detect accesses to admin functions by guests.
This commit detects accesses to admin functions when the user is a guest
and returns a corresponding error. This is now used to redirect the user
to the start page instead of "non-existing function". It has the
advantage that a bug in Lychee, that causes a non-existing function
to be called, can be spotted easier.
2016-08-20 11:50:24 +02:00
Tobias Reich
bad7819ff6 Moved Album::getAll into a separated file 2016-02-14 14:49:51 +01:00
Tobias Reich
72b4321c0c Always response with Response::() 2016-02-13 23:38:04 +01:00
Tobias Reich
fcb80c9f32 Run self::fnNotFound() when no match found in access class 2016-02-13 23:34:24 +01:00
Tobias Reich
36f43c3e27 Strict if condition 2016-02-13 23:33:39 +01:00
Tobias Reich
e9accae2a7 Use Response in Access 2016-02-07 14:32:46 +01:00
Tobias Reich
f650de8967 Removed newline at end of file 2016-01-31 15:53:44 +01:00
Tobias Reich
e89203bcb1 // for comments and spaces for alignment 2016-01-30 23:03:43 +01:00
Tobias Reich
b13283e4d4 Added Validator, removed Module, changed Access classes 2016-01-30 21:33:31 +01:00
Tobias Reich
8c76d340a7 Renamed folder to Access 2016-01-26 15:33:59 +01:00