Skip to content

Require elections.delete for election delete operation#12

Merged
Technofied merged 4 commits intoMCCitiesNetwork:masterfrom
bjorn-out:deletions
Feb 11, 2026
Merged

Require elections.delete for election delete operation#12
Technofied merged 4 commits intoMCCitiesNetwork:masterfrom
bjorn-out:deletions

Conversation

@bjorn-out
Copy link
Contributor

Manager, as opposed to admin, is a pretty "low" permission to have. It is probably best to not let managers have access to very sensitive operations, such as deletion, by default. This PR restricts it behind the already existing elections.delete permission node.

To keep things consistent. Manager, as opposed to admin, is a pretty "low" permission to have. It should not have access to sensitive operations such as deletion by default.
Copy link
Collaborator

@AlepandoCR AlepandoCR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tysm! @bjorn-out

@Technofied Technofied merged commit 2095f75 into MCCitiesNetwork:master Feb 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants