[Zope3-Users] PAU, how to grant roles to groups
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Sep 7 10:10:30 EDT 2006
On Thursday 07 September 2006 09:42, Denis Shaposhnikov wrote:
> For example, I've made PAU with prefix `myapp.` and group named
> `groups.admin`. Is it correct to use
>
> <grant
> role="myapp.Admin"
> principal="myapp.groups.admin"/>
>
> or I have to use
>
> <grant
> role="myapp.Admin"
> principal="groups.admin"/>
>
> ?
>
> May be I absolutelly wrong? Could someone explain me how to use PAU
> right way?
You cannot grant permissions via ZCML to principals that are located in the
ZODB. You have to use the "Grant" view of the folder for this.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-users
mailing list