New built-in function to check whether some role is implicitly active [CORE2762] #3155
Submitted by: Bjoern Reimer (bnreimer)
(As a reminder for Alex)
If I can get permissions on db objects not only via directly granted roles but also via roles in roles a new function is needed as replacement for psql statement
if (current_role = 'somerole') then ...
I don't know a good name, but maybe
====== Test Details ======
All tests in tests/functional/syspriv/ folder (run there: find /c /i "RDB$ROLE_IN_USE" *.fbt )
The text was updated successfully, but these errors were encountered:
Commented by: Sean Leyne (seanleyne)
Could you provide an example, the name "CanGet" is confusing.
It seems that what you are looking for a security model where a user would be added to list of groups, so that you could ask the system "Is the current user a member of group X".
Modified by: @dyemanov
assignee: Alexander Peshkov [ alexpeshkoff ] => Roman Simakov [ roman-simakov ]
Fix Version: 4.0 Alpha 1 [ 10731 ]
summary: New buildin function to check membership of role => New built-in function to check whether some role is implicitly active