Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.0
-
None
-
None
Description
In case of 'SET ROLE' and 'SHOW CURRENT ROLE' sentry client tries to get all the roles available to the current user. The server resolves all the groups that the user belongs to, and then list all roles granted for each of these groups. The problem is that if one of the groups is not granted any roles, then the underlying SentryStore API throws NoSuchObject exception. This is propagated back to the client.
In cases like 'SET ROLE' and 'SHOW CURRENT ROLE', we need to ignore this exception and continue collecting roles.
Attachments
Attachments
Issue Links
- links to