Fix email follow perms
This commit is contained in:
parent
4215fe7319
commit
285e1a1f96
2 changed files with 8 additions and 7 deletions
|
|
@ -39,6 +39,8 @@ class GovernmentAdmin(admin.ModelAdmin):
|
|||
|
||||
|
||||
def has_limited_access(user):
|
||||
if not user.is_authenticated:
|
||||
return True
|
||||
return not user.has_perm("froide_govplan.change_governmentplanupdate")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue