[Nuxeo-tickets] [Nuxeo Repository] #1785: wrong security declaration in UserFolderWithRoles for allowed

Nuxeo Repository trac at nuxeo.com
Thu Nov 16 20:06:12 CET 2006


#1785: wrong security declaration in UserFolderWithRoles for allowed
---------------------------+------------------------------------------------
 Reporter:  jschmitz       |       Owner:  fguillaume
     Type:  defect         |      Status:  new       
 Priority:  P2             |   Milestone:            
Component:  CPSUserFolder  |     Version:  3.4.2     
 Severity:  normal         |    Keywords:            
---------------------------+------------------------------------------------
 The security.declarePublic for allowed is wrong
 {{{
     security.declarePublic('getRolesInContext')
     def allowed(self, object, object_roles=None):
         """Check whether the user has access to object. The user must
            have one of the roles in object_roles to allow access."""

 }}}

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1785>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository



This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.