[Zope3-Users] Utilities / Adapters security - is access limited to interfaces?

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Apr 12 02:38:54 EDT 2006


On Tuesday 11 April 2006 06:59, Reinhold Strobl wrote:
> I have got a question on security:
> utitlities and adapters only have a simple security attribute (=permission)
> in the configuration directive, that means, I can't specifiy settings on
> attributes like with content components.
>
> But now what about access, if I have got the needed permission, can I
> access only the methods, attributes defined in the interface or can I
> access every attribute of the object?

Simply do not specify "permission" in the adapter directive and use the 
<class> directive to set your security the same way you do for other 
components, like content.

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