Commit Graph
85 Commits
Author SHA1 Message Date
Roberto Rosario 2dfad128e2 Language source and translations updates 2012-02-02 14:56:15 -04:00
Roberto Rosario 7b7153f7f6 Apply same invalid holder check to object ACL holder list manager method 2012-02-02 01:05:15 -04:00
Roberto Rosario a3ccc9c005 Don't assign an ACL to a non existant holder 2012-02-02 01:02:40 -04:00
Roberto Rosario 4ed7c714e0 Don't return non existant class default holders 2012-02-02 01:02:17 -04:00
Roberto Rosario 1ccdbb7973 Add extra logging 2012-02-02 01:01:25 -04:00
Roberto Rosario 9d52ce6683 Add object_list/queryset ACL inheritance 2012-01-27 15:54:05 -04:00
Roberto Rosario 9057d3c481 Add actor membership access checking 2012-01-27 11:11:05 -04:00
Roberto Rosario ec461c4f9b Update acl views to use encapsulated objects 2012-01-21 04:07:23 -04:00
Roberto Rosario f37500b0b4 Allow returning on the db stored permissions 2012-01-21 04:06:48 -04:00
Roberto Rosario 7714e62e97 Display proper unicode result for anonymous user class and creator class 2012-01-21 04:04:42 -04:00
Roberto Rosario bf9073fdce Add creator content type icon 2012-01-21 04:04:13 -04:00
Roberto Rosario 95f56cbd5a Enable default acls setup upon creation for documents, folders, tags and smart_links 2012-01-21 04:03:58 -04:00
Roberto Rosario 70953882a7 Implement ClassHolderSelectionForm and HolderSelectionForm forms
Subclassed from BaseHolderSelectionForm
2012-01-21 03:57:26 -04:00
Roberto Rosario d1eb387c16 Start work on the creator pseudo class acl holder 2012-01-20 22:54:26 -04:00
Roberto Rosario 39f47702c0 Finish the apply_default_acls function and enable it for document creation 2012-01-20 22:53:48 -04:00
Roberto Rosario 796dcc908a Move source_object class method to the classes module 2012-01-20 22:52:56 -04:00
Roberto Rosario 6117fde649 Initial default to current acl support 2012-01-19 17:44:34 -04:00
Roberto Rosario c9e58bdfac Remove unused import 2012-01-18 16:05:11 -04:00
Roberto Rosario f374596a28 Cleanups, improve comments 2012-01-18 16:01:06 -04:00
Roberto Rosario af106badac Cleanups and remove unused imports 2012-01-18 16:00:30 -04:00
Roberto Rosario 970cb74d35 PEP8 cleanups 2012-01-18 14:37:15 -04:00
Roberto Rosario 8a5d0425b6 PEP8 cleanups, style cleanups, unused imports 2012-01-18 13:52:19 -04:00
Roberto Rosario 351784a210 Add generic 'new holder' link 2012-01-09 06:41:58 -04:00
Roberto Rosario 5230b9ca53 Improve permission granting and revoking messages, improve navigation feedback 2012-01-09 04:51:01 -04:00
Roberto Rosario 86147c234b Add 'get_classes' to the DefaultAccessEntry class 2012-01-09 04:49:52 -04:00
Roberto Rosario af962f5998 Add content type icon mapping for anonymous user 2012-01-09 04:49:10 -04:00
Roberto Rosario a7f1e081c1 Refactor the EncapsulatedObject class 'encapsulate' method 2012-01-09 04:48:17 -04:00
Roberto Rosario 77400fc42f Make api module not dependant on any other 2012-01-09 04:47:41 -04:00
Roberto Rosario 4aad4efad3 Navigation feedback improvements for a few apps 2012-01-09 04:46:46 -04:00
Roberto Rosario 014ca49a7c Call the correct function to get list of registered classes for acl 2012-01-09 02:23:01 -04:00
Roberto Rosario a2e00b7776 Use content type model name and not name when mapping content types to icons 2012-01-09 02:22:25 -04:00
Roberto Rosario 071da14330 Remove moved method and unused import 2012-01-09 02:22:04 -04:00
Roberto Rosario 78c99c7700 Add tags and smartlinks icon mappings 2012-01-09 02:21:17 -04:00
Roberto Rosario 6e24b56e0e Add missing capfirst import 2012-01-09 02:21:01 -04:00
Roberto Rosario 7aabd7a1cc Add 'get_classes' function to acls.api, add function docstrings 2012-01-09 02:20:27 -04:00
Roberto Rosario 7ea9033c02 Change the default return value of the acl tag to False if there is no navigation object available
* This fixes the creation views links for the anonymous users
2012-01-08 06:51:32 -04:00
Roberto Rosario 4db37003d9 Call the proper method when adding anonymous user singleton to the new holder list 2012-01-08 06:48:01 -04:00
Roberto Rosario 33513d34a5 Remove remarked code 2012-01-07 23:25:54 -04:00
Roberto Rosario 595e901b64 Add anonymous user support to the acl model manager methods 2012-01-07 23:24:04 -04:00
Roberto Rosario b9f7939e3e Add the anonymous user singleton to the list of avaible holder for an acl 2012-01-07 23:22:55 -04:00
Roberto Rosario d0acea0714 Add anonymous user support to the object encapsulator class 2012-01-07 23:22:03 -04:00
Roberto Rosario 28000ccfec Add proper permission checking to the ACL setup view links 2012-01-07 23:21:22 -04:00
Roberto Rosario 1cd3c4e7d0 Add related support to 'filter_objects_by_access' and 'get_allowed_class_objects' methods 2012-01-03 18:47:28 -04:00
Roberto Rosario 40d3426202 Split acls models module into models, managers, classes and api 2012-01-03 03:03:51 -04:00
Roberto Rosario 43c52d64e7 Add empty object_list support to the 'filter_objects_by_access' manager method 2012-01-03 02:26:29 -04:00
Roberto Rosario f22a6f4ab0 Add proper label and icon for the new holder form submit button 2012-01-02 16:54:39 -04:00
Roberto Rosario 30416a094f Add superuser and staff user support to the filter_objects_by_access acl manager method 2012-01-02 06:47:25 -04:00
Roberto Rosario 233725cc58 Rename request to actor in more translatable texts 2012-01-02 05:59:07 -04:00
Roberto Rosario 8c19caa37a Initial translation for the acls app 2012-01-02 05:58:49 -04:00
Roberto Rosario 2cd91baa33 Initial translation files for the acl app 2012-01-02 05:43:33 -04:00