Commit graph

3 commits

Author SHA1 Message Date
Scott Bragg
a6405ccfc7 Fix team permissions backend not pulling out manager_permissions
Something like
request.user.has_perm('reviews.can_manage_%s' % proposal.kind.section.slug)

Will aways return false as the backend does a lookup of team membership
(member or manager) but only grabs the 'permissions' and not the
'manager_permissions' field
2016-06-13 21:21:21 +10:00
Carlos Henrique Romano
36ab6d599f Fix flake8 warnings 2014-07-30 15:19:26 -03:00
Luke Hatcher
5dfd74c360 permissions backend based on team membership 2012-07-31 15:24:26 -04:00