Something like
request.user.has_perm('reviews.canmanage%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
Something like request.user.has_perm('reviews.canmanage%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