Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

FEATURE: New rules for assigning a topic. #46

Merged
merged 1 commit into from
Sep 5, 2019

Conversation

romanrizzi
Copy link
Member

As discussed here, it shouldn't be possible to assign a topic to a user when:

  • The user won't be able to see the topic.
  • The user is not a member of the assign allowed users.

This PR adds some backend rules to prevent these scenarios.

* assign_to user must be allowed to assign.
* assign_to user must have access to the topic
@romanrizzi romanrizzi requested a review from eviltrout September 2, 2019 15:54
@SamSaffron
Copy link
Member

This looks good to me, merge first thing when you start your day!

@romanrizzi romanrizzi merged commit d268d4f into master Sep 5, 2019
@romanrizzi romanrizzi deleted the enforce_assign_rules branch September 5, 2019 13:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants