Jason Ward
ccd3417c99
refs #3 : added a unit test showing that groups are broken
2012-09-24 12:36:30 -04:00
Jason Ward
9fe2ad5a0d
refs #1 : added a git ignore file
2012-09-24 11:55:19 -04:00
Jason Ward
3e403abb1c
removed base prefix
2012-09-20 15:19:06 -04:00
Jason Ward
e49523dace
prepended 'base' to all new cache stuff in the base permission class
2012-09-20 14:52:01 -04:00
Jason Ward
73cdf40ab2
Added a performance test
2012-09-20 12:03:12 -04:00
Jason Ward
5cdf9f01b0
flake8
2012-09-20 11:55:38 -04:00
Jason Ward
ba0d47ac0b
Built a pre-cached permission dict to reduce the number of queries.
2012-09-20 11:37:44 -04:00
Jason Ward
d41bb71470
flake8
2012-09-20 11:00:01 -04:00
Jason Ward
a67c7b43bd
Fixed Q object query that triggers a deepcopy bug in Python < 2.7 when a backend stores an Ellipsis object on the user
2012-09-20 10:56:37 -04:00
Jason Ward
ec2c2802d1
Changing object references from object.id to object.pk
2012-09-20 10:54:49 -04:00
Jannis Leidel
e774382d38
Merge pull request #1 from rdegges/master
...
Removing Trailing Whitespace from Docs, Fixing Wording
2011-12-03 11:15:47 -08:00
Randall Degges
b50fb66512
Adding missing ' (to enclose the string).
2011-02-21 09:09:32 -08:00
Randall Degges
3f3f06dda0
Removing trailing whitespace.
2011-02-21 09:04:31 -08:00
Randall Degges
5ce50c0341
Fixing wording 'more simpler' -> 'simpler'.
2011-02-21 09:01:51 -08:00
Randall Degges
5f69581e17
Removing trailing whitespace.
2011-02-21 09:01:43 -08:00
Jannis Leidel
2b86bd5232
Added tag 0.4 for changeset 6d55a80ea6d4
2010-01-15 22:53:05 +01:00
Jannis Leidel
4f90c8efdb
Updated README a bit.
2010-01-15 22:52:53 +01:00
Jannis Leidel
372631dc3d
Prepare for 0.4 release.
2010-01-15 22:41:42 +01:00
Jannis Leidel
56507c4d52
Added fixture file to package data.
2010-01-15 22:41:11 +01:00
Jannis Leidel
32883905a4
Make use of new helper method introduced with the permission assigning features.
2010-01-15 22:35:01 +01:00
Jannis Leidel
567de09ca5
Further nitpicking.
2010-01-15 22:34:24 +01:00
Jannis Leidel
d4891f6b34
Minor nitpicking.
2010-01-15 22:30:09 +01:00
Jannis Leidel
407d9f26c5
Updated buildout config a little to make sure we call the Django versions by their names.
2010-01-15 22:29:44 +01:00
Diego Búrigo Zacarão
eb9218fe84
Fixed test_all() method of test.py
...
- It's necessary to pass the object to be checked against the
permission types.
2010-01-15 18:30:16 -02:00
Jannis Leidel
71eee85b85
Moved authority app from src/ to root directory
...
--HG--
rename : src/authority/__init__.py => authority/__init__.py
rename : src/authority/admin.py => authority/admin.py
rename : src/authority/decorators.py => authority/decorators.py
rename : src/authority/exceptions.py => authority/exceptions.py
rename : src/authority/fixtures/tests.json => authority/fixtures/tests.json
rename : src/authority/forms.py => authority/forms.py
rename : src/authority/managers.py => authority/managers.py
rename : src/authority/models.py => authority/models.py
rename : src/authority/permissions.py => authority/permissions.py
rename : src/authority/sites.py => authority/sites.py
rename : src/authority/templates/admin/edit_inline/action_tabular.html => authority/templates/admin/edit_inline/action_tabular.html
rename : src/authority/templates/admin/permission_change_form.html => authority/templates/admin/permission_change_form.html
rename : src/authority/templates/authority/403.html => authority/templates/authority/403.html
rename : src/authority/templates/authority/permission_delete_link.html => authority/templates/authority/permission_delete_link.html
rename : src/authority/templates/authority/permission_form.html => authority/templates/authority/permission_form.html
rename : src/authority/templates/authority/permission_request_approve_link.html => authority/templates/authority/permission_request_approve_link.html
rename : src/authority/templates/authority/permission_request_delete_link.html => authority/templates/authority/permission_request_delete_link.html
rename : src/authority/templatetags/__init__.py => authority/templatetags/__init__.py
rename : src/authority/templatetags/permissions.py => authority/templatetags/permissions.py
rename : src/authority/tests.py => authority/tests.py
rename : src/authority/urls.py => authority/urls.py
rename : src/authority/views.py => authority/views.py
rename : src/authority/widgets.py => authority/widgets.py
2010-01-07 18:00:41 +01:00
Jannis Leidel
bcb6308f3b
Added James Pic to list of authors
2010-01-07 17:58:51 +01:00
Jannis Leidel
63ff98e044
Automated merge with http://bitbucket.org/jpic/django-authority/
2010-01-07 17:49:22 +01:00
jpic
9e772dd52a
Implemented assign(), but a test doesn't pass.
...
test_all() should assert that using assign() with a
content_object and *without* specifying the "checks"
argument gives all permissions to the user.
This does *not* work at the moment.
2009-11-03 21:43:20 +00:00
jpic
1982cb8b7b
Add basic behaviour tests for BasePermission.assign()
2009-11-02 11:34:12 +00:00
jpic
919e3e3b18
Add basic behaviour test
2009-11-02 11:33:04 +00:00
jpic
728e87cc30
Add manage.py in example project, useful to run tests ootb with ./manage.py test authority
2009-11-02 11:32:21 +00:00
Jannis Leidel
51ac4a9515
Added news for last commits
2009-10-17 13:19:19 +02:00
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
7d831233df
Renamed upload_sphinx section to upload_docs because the command was added to distribute, yay
2009-10-12 14:55:39 +02:00
Jannis Leidel
f31565c006
Added example db to hgignore
2009-10-12 14:53:19 +02:00
Jannis Leidel
642639e8fa
Added ability to override form in add_permission view
2009-10-12 14:52:14 +02:00
Jannis Leidel
552ed3935b
Added TODO to .hgignore *snicker*
2009-10-12 14:49:17 +02:00
Jannis Leidel
da3906f813
Updated buildout config
2009-10-12 14:48:30 +02:00
Jannis Leidel
cd89499c43
Fix isse #6 - Fix PermissionDescriptor.__get__ signature
2009-08-24 15:25:18 +02:00
Jannis Leidel
6ef0520a71
Bumped Django version in buildout recipe up to 1.1
2009-08-24 15:24:41 +02:00
Jannis Leidel
d3510ae0c8
Updated readme a bit
2009-07-28 18:00:14 +02:00
Jannis Leidel
3c768107d7
Added tag 0.3 for changeset 9f43899a6fb4
2009-07-28 17:58:23 +02:00
Jannis Leidel
3ffc90f10d
Bumped version to 0.4
2009-07-28 17:47:12 +02:00
Jannis Leidel
efb31827de
Bumped version up
2009-07-28 17:41:30 +02:00
Jannis Leidel
d84aebed8a
Updated manifest template and readme in preparation for release
2009-07-28 17:34:50 +02:00
Jannis Leidel
bd0979c65d
Updated docstrings in template tags a bit
2009-07-24 00:03:22 +02:00
Diego Búrigo Zacarão
ffdfb2f328
Added get_permission_request templatetag
2009-07-23 18:35:09 -03:00
Jannis Leidel
e7e1c35ea7
Removed a bit of redundancy of the permission check API
2009-07-23 22:58:24 +02:00
Jannis Leidel
44e9397f23
Added SQL files to migrate permission model from 0.2 to 0.3
2009-07-23 22:42:12 +02:00