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

feat: allow all admins to purge content #3271

Merged
merged 1 commit into from Jun 26, 2023

Conversation

TKilFree
Copy link
Contributor

as discussed in issue: #2976

this removes the is_top_admin check from all purges, i've also deleted the is_top_admin function itself since it's no longer used

as an aside in relation to the safety concerns, i believe a long term solution to this would be moving from a coarse-grained role-based system, to a fine-grained permissions + role system, where permissions can be defined for pretty much every server interaction and roles are just named bundles of permissions which can be assigned to users

@TKilFree TKilFree force-pushed the dev-feat-allow-admins-purge-content branch from da2741d to 31e1ada Compare June 22, 2023 17:07
@Nutomic Nutomic merged commit 21d5349 into LemmyNet:main Jun 26, 2023
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.

None yet

2 participants