Description of problem:
Someone who is only a member of a sub-team does not have edit rights on a component with a default pool from another team.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set up default pool as a pool from Team A
2. Add team B as sub-team
3. visit component management page as someone who is in team B and not in team A
User cannot edit their components
User can edit their components.
If the default pool isn't set or the user is a member of team A, then they will be able to edit.
A user with sub team membership is able to edit the attributes, And those users can actually edit sub team as well.
It results user to ban themself from further edit that component, privilege is checked when save, so not a big issue.
This change has been deployed to the pre-production infrastructure at https://partner-bugzilla.redhat.com
This change is now live. If there are any issues, do not reopen this
bug. Instead, you should create a new bug and reference this bug.