Grant Imported Privileges on Database - Limiting Objects

Grant Imported Privileges on Database - Limiting Objects

GRANT IMPORTED PRIVILEGES ON DATABASE TO ROLE - This provides read access on 'all' objects in the database to a role, instead how to limit read access to subset of objects on database instead of all objects in database.

7

2 Answers

I suggest creating VIEWs with appropriate access privileges on the SHARE objects.

Database Roles (in Public Preview at the time of writing) will enable giving access to subsets of objects in a database:

These Database Roles have a scope limited to objects in the Database they belong to. Database Roles need to be granted to traditional (i.e. account level) roles to give access to specific audiences (i.e. users).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Elena Rostova
Author

Elena Rostova

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.