[Zope3-Users] Using zope.security Outside Zope
srichter at cosmos.phy.tufts.edu
Fri Mar 4 06:09:45 EST 2005
On Friday 04 March 2005 05:05, Andreas Pauley wrote:
> I'd like to know if it is feasible to use zope.security outside of the
> complete Zope 3 environment?
> I have a relatively simple security model that I need to implement.
> There's basically 3 roles (normal user, superviser, manager) with
> different permissions.
> I need to assign each user one or more roles, and then assign
> custom functionality (from my point of sale app) to each role.
This is exactly the same model we use in Zope 3. The security framework works
with a security policy to enforce the rules. You can simply reuse Zope's
secuiryt policy in zope.app.securitypolicy.
> I should also be able to present a user with a menu consisting only of
> functionality that he/she has access to.
We do that with Zope menus all the time.
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-users