Commit graph

20 commits

Author SHA1 Message Date
Jason Ward
82bc7ee89e refs #8: updated the tests to the correct expected number of queries 2012-09-26 16:10:20 -04:00
Jason Ward
2d71ba46b1 refs #7: wrote a test to show the expected number of queries needed for has_user_perms 2012-09-26 16:00:30 -04:00
Jason Ward
f6bba30407 refs #6: name change 2012-09-26 15:31:09 -04:00
Jason Ward
b81ef7b5d0 Merge remote-tracking branch 'origin/master' into issue_6
Conflicts:
	authority/permissions.py
2012-09-26 14:02:01 -04:00
Jason Ward
cb2d7c0280 refs #4: typo 2012-09-26 13:58:40 -04:00
Jason Ward
de45b9535e refs #6: no longer relying on self.user being set 2012-09-25 16:43:05 -04:00
Jason Ward
6ff9c0f196 refs #6: updated the tests so that there was a permission that did not have a user 2012-09-25 16:08:09 -04:00
Jason Ward
877833bdf2 Merge branch 'issue_3' into issue_4
Conflicts:
	authority/permissions.py
	authority/tests.py
2012-09-24 16:44:32 -04:00
Jason Ward
ddd4a9c35a refs #3: split up user and group permissions completely. 2012-09-24 15:45:42 -04:00
Jason Ward
77915643d3 refs #3: changed the name of the test case 2012-09-24 15:23:07 -04:00
Jason Ward
7744fac9f3 refs #4: The smart cache is now only being done if the correct settings is set. 2012-09-24 14:28:57 -04:00
Jason Ward
079b1a1595 refs #4: made a base test case for smart caching 2012-09-24 14:20:00 -04:00
Jason Ward
0b6848baff Merge branch 'issue_2' into issue_3
Conflicts:
	authority/permissions.py
	authority/tests.py
2012-09-24 13:51:50 -04:00
Jason Ward
ccd3417c99 refs #3: added a unit test showing that groups are broken 2012-09-24 12:36:30 -04:00
Jason Ward
ca3963ea7b refs #2: properly tested invalidate_cache 2012-09-24 12:09:59 -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
Jannis Leidel
d4891f6b34 Minor nitpicking. 2010-01-15 22:30:09 +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
Renamed from src/authority/tests.py (Browse further)