Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For team, currently, we haven't exposed the ability to create an AccessRequirement at the team's place. User still navigate to an entity's AccessRequirement to find the "Create new AccessRequirement" button. Ultimately, since it doesn't make sense to have AccessRequirement that applies to both Teams and Entities, we should separating the paths of creating AccessRequirement for Teams and Entities.

Problems

Currently, each AccessRequirement can be applied to multiple subjects. Every time a subject is added or removed from the AccessRequirement, the AccessRequirement is updated. Since applying an AccessRequirement to a subject is a relationship between AccessRequirement and subject, adding or removing subjects from AccessRequirement should only change the relationship between the subjects and the AccessRequirement, and do not update the AccessRequirement.

...