Files @ a6405ccfc7f5
Branch filter:

Location: symposion_app/symposion/conf.py

Scott Bragg
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
1
2
3
4
5
6
7
8
from django.conf import settings  # noqa

from appconf import AppConf


class SymposionAppConf(AppConf):

    VOTE_THRESHOLD = 3