Commit Graph

20 Commits

Author SHA1 Message Date
Roberto Rosario
563a1d176f Update permission app to the new class based permissions 2011-12-08 16:35:26 -04:00
Roberto Rosario
e048711d82 Updated permissions app to only return active permissions on the views and querysets 2011-10-29 02:23:33 -04:00
Roberto Rosario
548abaaf70 Added get_permission_namespace_label helper function 2011-10-27 07:45:26 -04:00
Roberto Rosario
f0f924a1d4 Added function to return a translatable label for a permission object 2011-10-24 20:35:32 -04:00
Roberto Rosario
08bc9ebf0e Improved handling of Issue #10 2011-08-08 23:38:36 -04:00
Roberto Rosario
84e12efb43 Added special case handling for DjangoZoom, which executes collectstatic
management command before executing syncdb first to create the db
structure.  Handles issue #10
2011-08-08 23:24:31 -04:00
Roberto Rosario
f3d3af0552 Removed IntegrityError exception check, not raise during syncdb 2011-07-07 23:52:46 -04:00
Roberto Rosario
89d9d95f59 Rollback transaction on exception, during syncdb (Postgresql @ DjangoZoom) 2011-07-07 23:21:14 -04:00
Roberto Rosario
a39f4d2574 Updated all apps permissions namespace title to uppercase 2011-06-13 00:23:13 -04:00
Roberto Rosario
89685fb8c6 Added function 'set_namespace_title' to define a translatable title for a permission group namespace 2011-05-25 00:32:47 -04:00
Roberto Rosario
53cb857a8f PEP8 cleanups 2011-05-25 00:00:23 -04:00
Roberto Rosario
d97a862a25 Refactored the permissions registration, checking and definition 2011-05-24 22:31:07 -04:00
Roberto Rosario
17c749a80a Removed ununsed import, and did other cleanups 2011-05-20 00:37:53 -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
61fb876a81 PEP8 and Pylint cleanups 2011-04-07 17:21:15 -04:00
Roberto Rosario
f66c8ec6e2 Fixed error and some warning returned by pylint 2011-04-05 00:04:11 -04:00
Roberto Rosario
043f8f3502 Fixed issue #4, avoid circular import in permissions/__init__.py 2011-03-29 11:04:30 -04:00
Roberto Rosario
3083f7344d Call PermissioDenied exception instead of custom exception 2011-03-09 01:19:38 -04:00
Roberto Rosario
344a613514 Final changes to support permissions and roles 2011-02-13 04:33:40 -04:00