Florent Guillaume wrote: > Have you done these changes by syncing the code with the > implementations in CPSUserFolder ? This is the most up to date with > respect to "blocking roles" implementation. And it's best to keep the > code as close as possible to the "reference" implementation. > > Florent >
I looked at the code in CPSUserFolder and started to try to implement role blocking. However, I couldn't get much far since there are a couple of serious bugs that need to be fixed first in PluggableUserFolder / SimpleGroupRoles before starting working on role blocking. In the end I couldn't see if it was the role blocking code that I was writing that was wrong or the existing code underneath. So the first thing to do before implemented role blocking is to sanitize the code. So far, the only issue left is the workflow create transition that is incorrect (used in folder_factories) when roles are set through role:Authenticated. e.g.: - create a /workspaces/test folder - assign "Workspace Member" to 'role:authenticated' on /workspaces/test - go to /workspaces/test/folder_factories as an authenticated user which is not Workspace Member in /workspaces/test . => no content type can be created. /JM _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
