-
Notifications
You must be signed in to change notification settings - Fork 808
Description
Describe the bug
The "Group Role" dialog doesn't allow users who have been granted "with admin" to add other members to the role as the + icon is not displayed.
To Reproduce
Steps to reproduce the behavior:
- Expand Servers > Server > Login/Group Roles
- Right click on a role and choose "Properties"
- Switch to the "Membership" tab
- No plus icon is not shown to allow a user "with admin option" to add new members.
Expected behavior
Users granted "with admin" should see the + icon to allow adding other members to the role.
Error message
The user can't add role members because the plus icon isn't shown. However if the user "with admin" option attempts to grant "with admin" to another user then they incorrectly get the error "The current user does not have permission to update the role."
Screenshots
N/A
Desktop (please complete the following information):
- OS: Fedora Linux 43
- pgAdmin version: 9.10
- Mode: Server
- Browser (if running in server mode): Chromium
- Package type: Python
Additional context
The role UI only allows editing if the user is a super user or has the "create role" permission, however if the user is a member of the role "with admin" option, they don't need either of these to be allowed to add new members to the role.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status