-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 [Frontend] Enh: admins are also pos
#8185
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
Conversation
admins are also posadmins are also pos
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the frontend to allow administrators to access the PO (Product Owner) center. The key change is updating the role permission logic so that admin users are treated as having product_owner privileges, enabling them to access PO-specific functionality.
- Expands
isProductOwner()to include admin role alongside product_owner - Reorganizes menu item order for better grouping by permission hierarchy
- Fixes a minor spelling error in an error message
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| osparc/data/Permissions.js | Updated isProductOwner() method to include admin role |
| osparc/navigation/UserMenu.js | Reordered menu items to reflect permission hierarchy (tester, po, admin) |
| osparc/po/UsersPending.js | Fixed spelling error in confirmation message |



What do these changes do?
This PR updates the frontend to let
Admins open thePOcenter. Changes in the backend need to follow so that the endpoints are open to the role.Related issue/s
Adminrole #8186How to test
Dev-ops