Fix bad permission check
This commit is contained in:
parent
cd979b5cdc
commit
e24349b9de
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class GovernmentAdmin(admin.ModelAdmin):
|
|||
|
||||
|
||||
def has_limited_access(user):
|
||||
return not user.has_perm("froide_gov.change_governmentplanupdate")
|
||||
return not user.has_perm("froide_govplan.change_governmentplanupdate")
|
||||
|
||||
|
||||
def get_allowed_plans(request):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue