Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

THREESCALE-11587: Member with partners perm products index #4036

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mayorova
Copy link
Contributor

What this PR does / why we need it:

A member user with "partners" permission can see the list of applications, which can be limited to application of certain products.
The small list of products is visible on the dashboard, but trying to access the products index page fails with Access Denied, which is fixed in this PR.

In addition to that, on the product application page (which is the only product-specific page that such a member can see), this PR removes the Applications > Settings > Usage Rules vertical menu item, because the user can't access that page.

Which issue(s) this PR fixes

https://issues.redhat.com/browse/THREESCALE-11587

Verification steps

  1. Configure a member user with only "partners" permission
  2. Go to Dashboard
  3. Select Products in the context selector, and verify that the list of products is shown
  4. Go to a single product page
  5. Verify that the product applications index is shown
  6. Verify that Settings > Usage Rules submenu is not visible

Special notes for your reviewer:

@mayorova mayorova force-pushed the member-with-partners-perm-products-index branch from 7a8cb63 to ae135b7 Compare March 10, 2025 13:17
| Service Subscriptions |
| Service Plans |

Rule: User is a member
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file was moved and "Rules" were added.

The only new test is the one below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant