lopez adrian wrote: > Hello, > Maybe you can help me. > My users do this: > -they go to the annuary > -they go to groups > -they search a group they dont beloved > -CPS want them to re-authenticate > -they choose to cancel > ----->An error appears a, traceback Error type "Unauthorized" > > How can i catch this error and show a well written message like "You are > not authorized to access to such information"?
This is already reported as an issue here : http://svn.nuxeo.org/trac/pub/ticket/1580 > > Other Question: > > I have a dilema, i have to provide access to the Intranet for 2 groups: > 1 is connected to internet, so no problem to access LDAP annuary. > 2 is not connected to internet or in my LAN (Client LAN) > > To provide the intranet at the group 2 i want to make a copy of the > intranet only in read mode on their network. Thats ok. But i got a > serious problem, How to create a un account in CPS that will not go > search the information in the LDAP but in the ZODB? I have tried to > create an account in acl_users in ZOPE, but the account have all the > rights in the Intranet. I just want him to be authentified so he can > read the information, not alter it. Check the ACLs on your directory. You can adjust them using global roles and as well using "entry local roles". (check the ZMI on a given directory). Thus you can play with roles and/or groups for your different kind of users to get what you're looking for I guess. 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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
