Edgewall Software

Ticket #6680: authz_policy.patch

File authz_policy.patch, 0.6 KB (added by alristico@…, 12 months ago)

Temporary patch file for authz_policy.py

  • sample-plugins/permissions/authz_policy.py

     
    210210        for resource_section in [a for a in self.authz.sections 
    211211                                 if a != 'groups']: 
    212212            resource_glob = resource_section 
     213            if ':' not in resource_glob: 
     214                resource_glob += ':*' 
    213215            if '@' not in resource_glob: 
    214216                resource_glob += '@*' 
    215217