Written by

Sales Engineer at InterSystems
Discussion Sylvain Guilbaud · Sep 11, 2023

Manage SQL accesses to all or some schemas in a database, instead of managing it a the tables level.

Currently, the SQL privileges (SELECT, INSERT, UPDATE, DELETE) are managed at the tables level, which can be very tedious when you have to administer many roles in an organization, and need to keep them sync with a constantly evolving data models.
By managing privileges at the schemas level, will allow to give SELECT and other DML privileges to *all* or *several schemas* to a role|user, fixing the need to manually synchronize the new tables|views to the roles.

If you agree, I invite you to vote for this idea.

Comments

Sylvain Guilbaud  Sep 11, 2023 to Sylvain Guilbaud

And the cool thing is that as soon as your user has received a GRANT on a schema, when you edit afterwards the user in the Security Management portal, you can see on the SQL Tables tab all the tables appear as they are created : 

0
Sylvain Guilbaud  Sep 11, 2023 to Alexander Koblov

Many thanks for pointing me towards this feature that I simply hadn't thought of.

0
Sylvain Guilbaud · Sep 12, 2023

It even works with all objects in a namespace :

GRANT SELECT ON * TOROLE|USER
0
David Hockenbroch  Sep 13, 2023 to Sylvain Guilbaud

Do so at your own risk, but if you use _PUBLIC as the role/user argument, then all users will have the granted permissions as soon as they are created.

0