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
|
9f426e2e92
|
Added decorator to required packages in setup.py
|
2009-06-22 16:07:20 +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
|
8a38d574d5
|
Added decorator to be used with views, yay
|
2009-06-22 01:06:21 +02:00 |
|
Jannis Leidel
|
8e285686a5
|
Refined permission system to have three types of permission checks: default (add, browse, change and delete), custom (like defaul checks) and complex (method based).
|
2009-06-22 01:05:31 +02:00 |
|
Jannis Leidel
|
5ba65d928d
|
Fixed permission manager for user
|
2009-06-22 01:00:25 +02:00 |
|
Jannis Leidel
|
1356043dcb
|
Small update to README
|
2009-06-12 12:02:39 +02:00 |
|
Jannis Leidel
|
e44842df3c
|
Removed model attribute from permission admin
|
2009-06-12 11:48:20 +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
|
6caa002694
|
Removed old exceptions and the autodiscover call which should be made in urls.py like admin
|
2009-06-12 01:48:50 +02:00 |
|
Jannis Leidel
|
0ffda098d5
|
Got rid of unneeded importlib.import_module import, err.
|
2009-06-12 01:25:39 +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
|
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
|
ea8f0168e8
|
Removed ipython and added django-extensions, django-debug-toolbar
|
2009-06-12 01:00:04 +02:00 |
|
Jannis Leidel
|
fd6da1d129
|
Fixed manifest template
|
2009-06-12 00:59:00 +02:00 |
|
Jannis Leidel
|
9e666d9099
|
Renamed permissions template tags
|
2009-06-12 00:54:48 +02:00 |
|
Jannis Leidel
|
5c6fcfe884
|
Renamed permissions template tags
--HG--
rename : src/authority/templatetags/permissions_tags.py => src/authority/templatetags/permissions.py
|
2009-06-12 00:54:34 +02:00 |
|
Jannis Leidel
|
1676c12e30
|
made flatpage template nicer, heh
|
2009-06-08 13:19:14 +02:00 |
|
Jannis Leidel
|
4e91ac30e7
|
Fixed fallback to Django's permission system
|
2009-06-08 13:18:54 +02:00 |
|
Jannis Leidel
|
5d76231cbe
|
Hm, silly
|
2009-06-08 12:25:10 +02:00 |
|
Jannis Leidel
|
fd6f5d5d8c
|
Updates to hgignore
|
2009-06-08 12:06:29 +02:00 |
|
Jannis Leidel
|
93ee4e7239
|
Added setup.py and LICENSE
|
2009-06-08 12:06:14 +02:00 |
|
Jannis Leidel
|
96a80d27a1
|
Added example project
|
2009-06-08 12:03:49 +02:00 |
|
Jannis Leidel
|
d0ebca03a2
|
added authority app
|
2009-06-08 12:00:44 +02:00 |
|
Jannis Leidel
|
efe086a508
|
initial checkin with buildout and some other default files
|
2009-06-08 11:58:38 +02:00 |
|