How can we do the same for a group to view data in system tables?
Below does not seem to be working.
alter group operator_group with SYSLOG ACCESS UNRESTRICTED;
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
But is it even possible to grant System tables access to GROUPS?
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
This method does not work for the ability to have non-superusers to be able to view svv_datashares. Will this change or if this is even possible, how can this be achieved? even creating a view to query svv_datashares under a superuser and granting a non-superuser select on said view does not work..even if you grant usage on the superuser schema....when you query the superuser view from the non-super user account who has syslog access unrestricted it returns empty rows... can this be achieved in redshift to be able to have non-superusers be able to view/query svv_datashares?
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
hi, I tried alter a non-super user account to add with SYSLOG ACCESS UNRESTRICTED; I still receive permission denied errors (provisioned redshift cluster). Need to have a way to grant a non-privileged user access to troubleshoot issues.
ERROR: permission denied for relation svl_statementtext ERROR: permission denied for relation stl_query ERROR: permission denied for relation stv_exec_state ERROR: permission denied for relation stl_tr_conflict
Found a solution for this:
There are 2 options to do this, use role name 'test_role' as example:
grant ACCESS SYSTEM TABLE to role <test_role>;
System permissions for RBAC - https://docs.aws.amazon.com/redshift/latest/dg/r_roles-system-privileges.html
grant role sys:monitor to role <test_role>;
This system defined role sys:monitor has the permission to access catalog or system tables. Amazon Redshift system-defined roles - https://docs.aws.amazon.com/redshift/latest/dg/r_roles-default.html
Relevant content
- asked 3 months ago
- asked a year ago
- asked 3 years ago
- asked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago