Joachim Schmitz wrote:
> in my student_portal I get the following from VerboseSecurity
> 
> Unauthorized: Your user account does not have the required permission.
> Access to 'edit' of (Jamb at
> /WAeUP/sections/uniportal/students/s22222222bb/JAMB/2142957299__0001)
> denied. Your user account, s22222222bb, exists at /WAeUP/acl_users.
> Access requires one of the following roles: ['Contributor', 'Manager',
> 'SectionManager']. Your roles in this context are ['Anonymous',
> 'Authenticated', 'CPSMember', 'Member', 'Owner', 'SectionReader',
> 'Student', 'WorkspaceReader'].
> 
> My Question is where do I define the roles required for access ? Is this
> in a workflow ? or with local roles ? Where does the "Contributor" role
> come from ?

They are two kinds of roles : global and local (as you can see from the
log above).

The workflow controls the local roles (check the workflow definitions
and the permissions tabs (on the workflow definition and on the states).
I suggest you to read a DCWorkflow documentation for this. If you are
not using workflow stacks this should be enough :

http://www.zope.org/Members/hathawsh/DCWorkflow_docs

Contributor comes from a refactoring aiming to unify the local roles on
CPS and thus reducing their complexity. Check out this thread :
http://article.gmane.org/gmane.comp.web.zope.cps.devel/1349/match=contributor

Reminder for finding information searching the mailing lists :

http://www.cps-project.org/sections/documentation

        J.

-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to