Gunnlaugur Þór Briem
|
06905e90c4
|
Fix BasePermission.assign for group perms
fixes #26
|
2020-02-07 11:17:51 +01:00 |
|
Jannis Leidel
|
d8542ffb87
|
Blacken the code.
|
2020-02-07 10:50:47 +01:00 |
|
greg
|
8aa4c85942
|
update tests
|
2016-08-12 13:01:06 +02:00 |
|
Safwan Rahman
|
08359c4880
|
Remove older Django support and fix styling issues
|
2016-03-29 23:24:31 +06:00 |
|
Jason Ward
|
c5c853e12b
|
refs #45: Updated the tests.
|
2015-12-14 11:09:32 -05:00 |
|
Bob Cribbs
|
2c2927f696
|
add compat.py file for user model
|
2015-11-10 22:45:10 +02:00 |
|
Jason Ward
|
6752bb52c1
|
refs #9: had to bump the number of queries for a few things in order to stop doing dependent subqueries
|
2013-07-03 12:05:42 -04:00 |
|
Travis Chase
|
9c17430b03
|
Added custom user model and modified test run to use it when Django >= 1.5
|
2013-06-13 06:13:12 -05:00 |
|
Travis Chase
|
770e696313
|
Updated to be straight import for readability
|
2013-06-11 21:52:34 -05:00 |
|
Travis Chase
|
5a2ea092e6
|
Updates to handle custom user model change from Django 1.5
|
2013-06-11 17:26:41 -05:00 |
|
Jason Ward
|
95610f9379
|
refs #11: All tests are now passing
|
2013-03-18 16:34:10 -04:00 |
|
Jason Ward
|
811e69b722
|
refs #11: Updated query counts to take into account the ContentType cache, fixed group caching tests
|
2013-03-18 16:26:50 -04:00 |
|
Jason Ward
|
4a9ed8aa9d
|
refs #11: added tests for group caching
|
2013-03-18 15:46:34 -04:00 |
|
Jason Ward
|
342f3d5311
|
refs #8: name changes and used kwargs in one of the tests
|
2012-09-26 17:17:27 -04:00 |
|
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 |
|