zopefoundation / Products.PluggableAuthService

Pluggable Zope authentication / authorization framework
Other
9 stars 18 forks source link

Fix bug in `getRolesForPrincipal` for non PAS user. #55

Closed sallner closed 4 years ago

sallner commented 4 years ago

It broke for user objects which do not implement getGroups as the lambda function is called without arguments.

sallner commented 4 years ago

@dataflake Thank you for the quick reaction.