Share via

synapse workspace sql pool access to created schemas

arkiboys 9,711 Reputation points
2021-08-17T07:54:44.57+00:00

1-
In the synapse workspace, I am using the serverless sql pool.
2-
Using the SQL Scripts in the Develop tab, I created schemas, schema1, schema2, schema3
3-
Using the SQL Scripts in the Develop tab, I created views in each of the schemas,
i.e.
schema1.view1...
schema2.view2...
schema3.view3...
4-
Report developers can now access these views in all the schemas.

Question:
How can I limit the report developers to have access only to schema3 views only?

Thank you

Azure Synapse Analytics
Azure Synapse Analytics

An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.

0 comments No comments

Answer accepted by question author

Saurabh Sharma 23,866 Reputation points Microsoft Employee Moderator
2021-08-18T00:54:28.687+00:00

Hi @arkiboys ,

Thanks for using Microsoft Q&A !!
You can use schema level permissions using GRANT Schema Permissions to limit access to only Schema3 for your report developers. So, you can provide a select, alter etc permissions for specific report developers on schema 3 only. For example, following statement will grant only select permissions to your report developers on schema3 -
Grant SELECT ON SCHEMA :: schema3 TO [report-user]

Please let me know if you have any questions.

Thanks
Saurabh

----------

Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.