Breaking Down
User Entity:
Organization Entity:
Team Entity:
- edit: Organization admins or team owners can edit the team.
- delete: Organization admins or team owners can delete the team.
- invite: Organization admins who are also either team owners or members can invite others.
- remove_user: Only team owners can remove users from the team.
Project Entity:
- view: Organization admins or team members can view the project.
- edit: Organization admins or team members can edit the project.
- delete: Only team members can delete the project.