Commit graph

10 commits

Author SHA1 Message Date
Jannis Leidel
fa4a3fbc11 Moved setting the user field widget to correct location in UserPermissionForm 2009-10-12 15:45:06 +02:00
Jannis Leidel
950061cb75 Show how to override a form in the add_permission view in the example project 2009-10-12 14:56:10 +02:00
Jannis Leidel
c3208b2b34 Added date_requested and date_approved fields to Permission model, to accompany the permission request changes. This requires a schema change.
Fixed legacy permission name "approve_permission_requests".
Fixed forms to not bypass validation for permission requests.
Combined the templates for permission requests forms and permission forms in one file.
Added ability to withdraw a permission request, along the lines of the permission denial.
Updated URLs to be more awesome.
Refactored template tags to be classbased, easier to use.
Changed signature of permission_form templatetag and added ability to pass a template name with which the form should be rendered.
Combined permission_form and permission_request_form in one template tag class.
Added utility to determine best URL to redirect to after successful permission (request) creation.
Made sure the new GET access to the permission form views is secure. Please test!
Added new "approve_permissions" admin action to easily approve permissions in the admin.
Updated default templates to use the new features.
Now dance.
2009-07-23 07:33:34 +02:00
Jannis Leidel
340cbb9c73 Fixes issue #2 - Adds ability to pass non-lookup parameters in decorator to permission check. 2009-07-10 15:55:25 +02:00
Jannis Leidel
31eba894d8 Fixed backwards incompatibility with admin. 2009-07-07 14:50:49 +02:00
Jannis Leidel
f9f0f63805 Added site-wide admin action (1.1 only) for editing permissions of arbitrary objects. 2009-07-07 02:12:08 +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
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
96a80d27a1 Added example project 2009-06-08 12:03:49 +02:00