[Zope3-checkins] CVS: Zope3/src/zope/app/security/registries - configure.zcml:1.3
Jim Fulton
jim@zope.com
Mon, 3 Feb 2003 15:20:13 -0500
Update of /cvs-repository/Zope3/src/zope/app/security/registries
In directory cvs.zope.org:/tmp/cvs-serv24919
Modified Files:
configure.zcml
Log Message:
Added a security assertion to provide access to user information from
untrusted templates.
=== Zope3/src/zope/app/security/registries/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/security/registries/configure.zcml:1.2 Wed Dec 25 09:13:17 2002
+++ Zope3/src/zope/app/security/registries/configure.zcml Mon Feb 3 15:20:10 2003
@@ -9,31 +9,39 @@
interface="zope.app.interfaces.security.IRoleService" />
<service
serviceType="Roles"
- component="zope.app.security.registries.roleregistry.roleRegistry" />
+ component=".registries.roleregistry.roleRegistry" />
<serviceType
id="Permissions"
interface="zope.app.interfaces.security.IPermissionService" />
<service
serviceType="Permissions"
- component="zope.app.security.registries.permissionregistry.permissionRegistry" />
+ component=".registries.permissionregistry.permissionRegistry"
+ />
<serviceType
id="Authentication"
interface="zope.app.interfaces.security.IAuthenticationService" />
<service
serviceType="Authentication"
- component="zope.app.security.registries.principalregistry.principalRegistry" />
+ component=".registries.principalregistry.principalRegistry"
+ />
<!-- protect Roles and Permissions -->
- <content class="zope.app.security.registries.roleregistry.Role">
+ <content class=".registries.roleregistry.Role">
<allow
interface="zope.app.interfaces.security.IRegisteredObject" />
</content>
- <content class="zope.app.security.registries.permissionregistry.Permission">
+
+ <content class=".registries.permissionregistry.Permission">
<allow
interface="zope.app.interfaces.security.IRegisteredObject" />
</content>
+
+ <content class=".registries.principalregistry.Principal">
+ <allow interface="zope.app.interfaces.security.IRegisteredObject" />
+ </content>
+
</zopeConfigure>