Skip to content

Commit

Permalink
[Fixes #1699] Allow organisation Admin and User Managers to delete em…
Browse files Browse the repository at this point in the history
…ployments
  • Loading branch information
KasperBrandt committed Aug 3, 2015
1 parent 8c4ab9f commit db53754
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions akvo/rsr/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@

rules.add_perm('rsr.add_employment', is_rsr_admin)
rules.add_perm('rsr.change_employment', is_rsr_admin | is_org_admin | is_org_user_manager)
rules.add_perm('rsr.delete_employment', is_rsr_admin | is_org_admin | is_org_user_manager)

rules.add_perm('rsr.iati_management', is_rsr_admin | is_org_admin | is_org_project_editor)

Expand Down

0 comments on commit db53754

Please sign in to comment.