Commit Graph

29 Commits

Author SHA1 Message Date
Roberto Rosario
eaf0293dcf Don't return references to deleted users as a members 2012-03-17 01:02:26 -04:00
Roberto Rosario
84f3fcd2da Rename holder to actor 2012-01-18 14:43:33 -04:00
Roberto Rosario
970cb74d35 PEP8 cleanups 2012-01-18 14:37:15 -04:00
Roberto Rosario
8216953bed Add anonymous user content type support to RoleMembers class 2012-01-09 08:33:20 -04:00
Roberto Rosario
9fae7269a6 Move Role class processing from the views to the model as methods 2012-01-09 08:11:59 -04:00
Roberto Rosario
c3175c7ea4 Add anonymous user support to the permission app 2012-01-08 04:57:54 -04:00
Roberto Rosario
34311fb17e Cleanups, permissions separation into explicit module, absolute import update 2012-01-02 03:48:26 -04:00
Roberto Rosario
a9c5caa994 Add the __str__ method and stored_permission proxy property to the Permission class 2011-12-25 03:15:41 -04:00
Roberto Rosario
4cd36026b9 Add migrations to convert existing databases to the class based permission system 2011-12-19 17:06:41 -04:00
Roberto Rosario
00875ddea2 Return a sorted permisions list by namespace name 2011-12-19 16:27:37 -04:00
Roberto Rosario
65bc6c88ab Fix typo from method rename 2011-12-17 19:46:59 -04:00
Roberto Rosario
84410ac98e Reenable label field until DB migration are calculated 2011-12-17 16:44:01 -04:00
Roberto Rosario
357d1b7430 Improve the linking between the volatile permission and the stored permission classes 2011-12-13 10:57:39 -04:00
Roberto Rosario
563a1d176f Update permission app to the new class based permissions 2011-12-08 16:35:26 -04:00
Roberto Rosario
2b3629f899 Return translatable permission labels and permission namespace label straight from the model 2011-11-03 12:03:47 -04:00
Roberto Rosario
4f1a234c0a Return the namespace and label of a permission object instead of just the label 2011-10-24 20:36:09 -04:00
Roberto Rosario
cb55b95e66 Added granting and revoking permission methods to the permission model 2011-10-16 07:28:03 -04:00
Roberto Rosario
581f8cd52d Moved PermissionManager and RoleMemberManager to a separate manager.py file 2011-05-24 23:39:10 -04:00
Roberto Rosario
4a4afbf06a Cleaned up files, removed ununsed imports 2011-05-20 00:54:11 -04:00
Roberto Rosario
17c749a80a Removed ununsed import, and did other cleanups 2011-05-20 00:37:53 -04:00
Roberto Rosario
3e0a87314e Slight improvement, exit recursion as soon a permission hit is found 2011-05-08 03:17:58 -04:00
Roberto Rosario
2cacae7551 Moved permission checking logic to model, simplyfing it and adding group support too 2011-05-08 03:06:34 -04:00
Roberto Rosario
2a744cefea PEP8, pylint cleanups and removal of relative imports 2011-04-23 02:49:07 -04:00
Roberto Rosario
5e08662965 Increased permissions app permission's label field size 2011-04-22 03:27:58 -04:00
Roberto Rosario
71a3c218f4 PEP8, pylint and django-lint cleanups 2011-04-08 02:09:39 -04:00
Roberto Rosario
f66c8ec6e2 Fixed error and some warning returned by pylint 2011-04-05 00:04:11 -04:00
Roberto Rosario
a2e6f223f4 Added role editing, creating and permission granting/revoking views 2011-02-15 01:43:25 -04:00
Roberto Rosario
93f74df2df Initial commit of permissions views 2011-02-14 20:48:53 -04:00
Roberto Rosario
344a613514 Final changes to support permissions and roles 2011-02-13 04:33:40 -04:00