Skip to Main Content
InterSystems Ideas
We love hearing from our users. Tell us what you want to see next and upvote ideas from the community.
* Bugs and troubleshooting should as usual go through InterSystems support.
Status Already exists
Categories InterSystems IRIS
Created by Sylvain Guilbaud
Created on 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.

  • ADMIN RESPONSE
    Sep 25, 2023

    Thank you for posting the idea. According to information from experts, this functionality already exists.

  • Sylvain Guilbaud
    Reply
    |
    Sep 11, 2023

    Thanks to Alexander Koblov for pointing me towards this feature that I simply hadn't thought of.

  • Sylvain Guilbaud
    Reply
    |
    Sep 11, 2023

    Actually this feature is already available with IRIS through the GRANT ... ON SCHEMA ...

    Ex: GRANT SELECT ON SCHEMA data TO ROLE|USER

    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