Jannis Leidel
|
52e8c07ff1
|
Fixed order of possible templates of permission denied views.
|
2009-07-06 14:30:56 +02:00 |
|
Jannis Leidel
|
287d2eccd5
|
Fixed decorator to only check for permissions if user is logged in. Added permission_denied view to be used when permission check unsuccessful, e.g. with the new permission_required_or_403 decorator. The permission_required decorator will redirect to the login form by default.
|
2009-07-03 15:41:21 +02:00 |
|
Jannis Leidel
|
dfa487e44d
|
Moved a bunch of methods to the model manager, which now resides in its own file. Promoted permission registry to a class to put some utility functions to it, including a function to compile a choice list for a given permission label. Updated __unicode__ of Permission model. Added new default permission check 'can_browse'. Added support for verbose names of permission checks. Updated forms to work with all changes. Moved codename field to base form class.
|
2009-06-12 01:11:06 +02:00 |
|
Jannis Leidel
|
5d76231cbe
|
Hm, silly
|
2009-06-08 12:25:10 +02:00 |
|
Jannis Leidel
|
d0ebca03a2
|
added authority app
|
2009-06-08 12:00:44 +02:00 |
|