Ticket #1785 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

wrong security declaration in UserFolderWithRoles for allowed

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


The security.declarePublic for allowed is wrong

    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

comment:1 Changed 13 years ago by madarche

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [50088].


comment:2 Changed 13 years ago by madarche

  • Version changed from 3.4.2 to TRUNK
  • Milestone set to CPS 3.4.3
Note: See TracTickets for help on using tickets.