Remove PrincipalSettingsBase.is_in_acl helper
commit8e5366182028116f45fcde853854d15d957b9e90
authorAdrian Moennich <adrian.moennich@cern.ch>
Wed, 13 May 2015 09:40:37 +0000 (13 11:40 +0200)
committerAdrian Moennich <adrian.moennich@cern.ch>
Wed, 13 May 2015 12:17:04 +0000 (13 14:17 +0200)
tree23419c2a311d8913042df001182c33aa035ab6e8
parentba8c65ac82b504c127dfe2f8d0c00acb292525ba
Remove PrincipalSettingsBase.is_in_acl helper

Retrieving a full ACL is very cheap (single query) and checking if
users/local groups match is cheap, too, as the first local group
membership check gets the list of all the user's local groups.
indico/core/models/settings.py