Add interest events run by interest group leaders#4181
Open
ch0rizo wants to merge 17 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Apart of a stack. Wanted to try github stacked PRs (its very nice).
Adds the
interest_eventtype: leaders and co-leaders of active interest groups can createand manage events for their own group, without keyword permissions.
constants.py- creators control content fields; INFINITE status,free, no captcha/penalties/feedback, and never pinned are forced by the serializer
capacity and waiting list
response carries the final result
administratestayskeyword-gated for interest events (creators of other event types keep object access)
oldest co-leader or deactivates the group (also reconciled nightly)
gains
exclude_event_typeandresponsible_group_typefiltersTesting
Please describe what and how the changes have been tested, and provide instructions to reproduce if necessary.
Tested with
tox -e tests. Frontend PR in lego-webapp follows and needs this deployed first.Resolves #4180
Stack created with GitHub Stacks CLI • Give Feedback 💬