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
|
62b8c12077
|
Add an alternative Django 1.0.2 section to the buildout. Use django-debug-toolbar's released version instead of latest development version.
|
2009-07-03 15:34:42 +02:00 |
|
Jannis Leidel
|
3c34e7482d
|
Added an example of the decorator to the docstring of the example view. Fixed verbose name of top_secret permission check of example app.
|
2009-06-22 16:09:06 +02:00 |
|
Jannis Leidel
|
3e047dc5fe
|
Updated example project to use the latest additions to django-authority
|
2009-06-22 01:07:26 +02:00 |
|
Jannis Leidel
|
539a8bf637
|
Removed some debug print statements and got rid of the importlib in authority.autodiscover()
|
2009-06-12 01:57:08 +02:00 |
|
Jannis Leidel
|
6163e02b26
|
A short description for the example FlatPagePermission
|
2009-06-12 01:22:43 +02:00 |
|
Jannis Leidel
|
ff0150398c
|
Updated the FlatPage permissions to work with the latest changes. Added a custom permission check 'top_secret'. Added more examples to flatpage template.
|
2009-06-12 01:12:51 +02:00 |
|
Jannis Leidel
|
ea8f0168e8
|
Removed ipython and added django-extensions, django-debug-toolbar
|
2009-06-12 01:00:04 +02:00 |
|
Jannis Leidel
|
1676c12e30
|
made flatpage template nicer, heh
|
2009-06-08 13:19:14 +02:00 |
|
Jannis Leidel
|
96a80d27a1
|
Added example project
|
2009-06-08 12:03:49 +02:00 |
|