on 01-20-2015 3:43 PM
Hi folks,
Is there a way to control table level access? For example instead of allowing a power user to select from entire schema I want to only allow them to select from a few tables. I thought I read about this somewhere but can't seem to find any information on this. Essentially I have power users that are validating views that we modelers have developed and want to be able to run SQL against the source tables to understand the underlying data and test. But we don't want to give them free reign to query every table in the default schema.
Thanks,
-Patrick
You can find a description of this kind of GRANT commands in the SAP HANA SQL reference:
GRANT - SAP HANA SQL and System Views Reference - SAP Library
GRANT <object_privilege> ON <object_name> TO <grantee>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are right - a <grantee> can be both a user and a role. SQL: "HANA_Security_GrantedRolesAndPrivileges" (SAP Note 1969700) can be helpful to understand the direct and indirect assignments. You can configure the "Modification section" of this command based on your needs.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.