Which users have rights to select from table

18 views
Skip to first unread message

Антон Александров

unread,
Aug 30, 2022, 7:56:39 AM8/30/22
to firebird-general
Hi,
I know how to see the right, granted to user or role, or procedure to select from specific table.
But how can I see the opposite? I don't know how to check which users or roles or procedures  have rights to select from specific table 
Please help

Mark Rotteveel

unread,
Aug 30, 2022, 8:00:09 AM8/30/22
to firebird...@googlegroups.com

Антон Александров

unread,
Aug 30, 2022, 8:03:08 AM8/30/22
to firebird-general
Very Tanks

Dimitry Sibiryakov

unread,
Aug 30, 2022, 8:10:42 AM8/30/22
to firebird...@googlegroups.com
Антон Александров wrote 30.08.2022 13:01:
> I don't know how to check which users or roles or procedures  have rights to
> select from specific table

isql SHOW GRANTS command can help you:
https://www.firebirdsql.org/file/documentation/html/en/firebirddocs/isql/firebird-isql.html#isql-show-grants

--
WBR, SD.

Антон Александров

unread,
Aug 30, 2022, 8:45:03 AM8/30/22
to firebird-general

Thank you, but I prefer to use
select * from RDB$USER_PRIVILEGES
where
 (rdb$relation_name = 'MyTableName')
 and (rdb$privilege = 'S')
Reply all
Reply to author
Forward
0 new messages