Limit post and edit permissions to leads and leadership #113
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
The site had initially been set up with the idea of being like a wiki and editable by any logged in user. This has been a large attack surface for link spammers for some time now. So we want to limit the ability to post new projects and edit them to be limited specifically to project leads ("staff" level) and leadership ("admin" level), to ensure what is being posted is genuine.
Fixes
In order to post a new project they must be at least "Staff" level which means that an admin will have elevated a trusted volunteer to have that status within the site. Without that a user would not be able to see or make that request.