Ticket #1785 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

wrong security declaration in UserFolderWithRoles for allowed

Reported by: jschmitz Assigned to: fguillaume
Priority: P2 Milestone: CPS 3.4.3
Component: CPSUserFolder Version: TRUNK
Severity: normal Keywords:
Cc:

Description

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."""

Change History

11/16/06 21:49:06 changed by madarche

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [50088].

Thanks.

11/16/06 21:49:28 changed by madarche

  • version changed from 3.4.2 to TRUNK.
  • milestone set to CPS 3.4.3.