Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only administrators should be able to modify or remove applciations #657

Open
JohanAnderssonOstling opened this issue May 11, 2022 · 1 comment
Assignees
Labels
enhancement Medium Medium priority

Comments

@JohanAnderssonOstling
Copy link
Contributor

Currently, group leaders and presidiums of committees can remove or modify applications of their group. Only administrators should have this permission.

@EdwardGlockner
Copy link

The error is in the following lines

rules.add_perm('involvement.change_application', is_super
| member_of_team_appl & can_modify_application)
rules.add_perm('involvement.delete_application', is_super
| member_of_team_appl & can_modify_application)

These lines interact with: involvement/rule_utils.py and involvement/models/role.py.

Havnt been able to fix it yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Medium Medium priority
Projects
None yet
Development

No branches or pull requests

2 participants