Groups
Groups
Sign in
Groups
Groups
firebird-general
Conversations
About
Send feedback
Help
Which users have rights to select from table
18 views
Skip to first unread message
Антон Александров
unread,
Aug 30, 2022, 7:56:39 AM
8/30/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
8/30/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to firebird...@googlegroups.com
You can query the RDB$USER_PRIVILEGES table, see also
https://www.firebirdsql.org/file/documentation/html/en/refdocs/fblangref40/firebird-40-language-reference.html#fblangref-appx04-userprivs
Mark
--
Mark Rotteveel
Антон Александров
unread,
Aug 30, 2022, 8:03:08 AM
8/30/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to firebird-general
Very Tanks
Dimitry Sibiryakov
unread,
Aug 30, 2022, 8:10:42 AM
8/30/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
8/30/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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