You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/security/how-to-manage-synapse-rbac-role-assignments.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
-
title: How to manage Synapse RBAC assignments in Synapse Studio
3
-
description: This article describes how to assign and revoke Synapse RBAC roles to AAD security principals
2
+
title: How to manage Azure Synapse RBAC assignments in Synapse Studio
3
+
description: This article describes how to assign and revoke Azure Synapse RBAC roles to Azure AD security principals
4
4
author: meenalsri
5
5
ms.service: synapse-analytics
6
6
ms.topic: how-to
7
7
ms.subservice: security
8
-
ms.date: 12/1/2020
8
+
ms.date: 3/7/2022
9
9
ms.author: mesrivas
10
-
ms.reviewer: sngun
10
+
ms.reviewer: sngun, wiassaf
11
11
---
12
12
13
13
# How to manage Synapse RBAC role assignments in Synapse Studio
14
14
15
-
Synapse RBAC uses roles to assign permissions to users, groups, and other security principals to enable access and use of Synapse resources and code artifacts. [Learn more](./synapse-workspace-synapse-rbac.md)
15
+
Synapse RBAC uses roles to assign permissions to users, groups, and other security principals to enable access and use of Synapse resources and code artifacts. For more information, see [What is Synapse role-based access control (RBAC)?](./synapse-workspace-synapse-rbac.md)
16
16
17
17
This article shows how to add and delete Synapse RBAC role assignments.
Copy file name to clipboardExpand all lines: articles/synapse-analytics/security/how-to-review-synapse-rbac-role-assignments.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
-
title: How to review Synapse RBAC role assignments in Synapse Studio
3
-
description: This article describes how to review Synapse RBAC role assignments using Synapse Studio
2
+
title: How to review Azure Synapse RBAC role assignments in Synapse Studio
3
+
description: This article describes how to review Azure Synapse RBAC role assignments using Synapse Studio
4
4
author: meenalsri
5
5
ms.service: synapse-analytics
6
6
ms.topic: how-to
7
7
ms.subservice: security
8
-
ms.date: 12/1/2020
8
+
ms.date: 3/07/2022
9
9
ms.author: mesrivas
10
-
ms.reviewer: sngun
10
+
ms.reviewer: sngun, wiassaf
11
11
---
12
12
13
13
# How to review Synapse RBAC role assignments
14
14
15
-
Synapse RBAC roles are used to assign permissions to users, groups, and other security principals to enable access and use of Synapse resources. [Learn more](./synapse-workspace-synapse-rbac.md)
15
+
Synapse RBAC roles are used to assign permissions to users, groups, and other security principals to enable access and use of Synapse resources. For more information, see [What is Synapse role-based access control (RBAC)?](./synapse-workspace-synapse-rbac.md)
16
16
17
17
This article explains how to review the current role assignments for a workspace.
Copy file name to clipboardExpand all lines: articles/synapse-analytics/security/how-to-set-up-access-control.md
+15-20Lines changed: 15 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
-
title: How to set up access control for your Synapse workspace
2
+
title: How to set up access control for your Azure Synapse workspace
3
3
description: This article will teach you how to control access to an Azure Synapse workspace using Azure roles, Synapse roles, SQL permissions, and Git permissions.
4
4
services: synapse-analytics
5
5
author: meenalsri
6
6
ms.service: synapse-analytics
7
7
ms.topic: how-to
8
8
ms.subservice: security
9
-
ms.date: 8/05/2021
9
+
ms.date: 3/07/2022
10
10
ms.author: ronytho
11
11
ms.reviewer: sngun, wiassaf
12
12
ms.custom: subject-rbac-steps
@@ -146,7 +146,7 @@ To run pipelines and perform system tasks, Azure Synapse requires that the works
146
146
147
147
## STEP 5: Grant Synapse administrators the Azure Contributor role on the workspace
148
148
149
-
To create SQL pools, Apache Spark pools and Integration runtimes, users must have at least Azure Contributor role at the workspace. The contributor role also allows these users to manage the resources, including pausing and scaling. If you are using Azure portal or Synapse Studio to create SQL pools, Apache Spark pools and Integration runtimes, then you need Azure Contributor role at the resource group level.
149
+
To create SQL pools, Apache Spark pools and Integration runtimes, users must have at least Azure Contributor role at the workspace. The contributor role also allows these users to manage the resources, including pausing and scaling. If you're using Azure portal or Synapse Studio to create SQL pools, Apache Spark pools and Integration runtimes, then you need Azure Contributor role at the resource group level.
150
150
151
151
- Open the Azure portal
152
152
- Locate the workspace, `workspace1`
@@ -193,7 +193,7 @@ To grant access to the serverless SQL pool, 'Built-in', the scripts can be run b
193
193
194
194
### STEP 7.1: Serverless SQL pool, Built-in
195
195
196
-
In this section, there are script examples showing how to give a user permission to access a particular database or to all databases in the serverless SQL pool, 'Built-in'.
196
+
In this section, there are script examples showing how to give a user permission to access a particular database or to all databases in the serverless SQL pool, `Built-in`.
197
197
198
198
> [!NOTE]
199
199
> In the script examples, replace *alias* with the alias of the user or group being granted access, and *domain* with the company domain you are using.
@@ -202,38 +202,31 @@ In this section, there are script examples showing how to give a user permission
202
202
203
203
To grant access to a user to a **single** serverless SQL database, follow the steps in this example:
204
204
205
-
1. Create LOGIN
205
+
1. Create a login. Change to the `master` database context.
206
206
207
207
```sql
208
-
use master
209
-
go
208
+
--In the master database
210
209
CREATE LOGIN [alias@domain.com] FROM EXTERNAL PROVIDER;
211
-
go
212
210
```
213
211
214
-
2. Create USER
212
+
2. Create user in your database. Change context to your database.
@@ -257,8 +250,8 @@ To grant access to a **single** dedicated SQL pool database, follow these steps
257
250
```
258
251
259
252
> [!IMPORTANT]
260
-
>*db_datareader*and*db_datawriter*can work for read/write permissions if granting *db_owner* permission is not desired.
261
-
>For a Spark user to read and write directly from Spark into orfrom a SQL pool, *db_owner* permission is required.
253
+
>The **db_datareader**and**db_datawriter** database roles can work for read/write permissions if granting **db_owner** permission is not desired.
254
+
>However, for a Spark user to read and write directly from Spark into orfrom a SQL pool, **db_owner** permission is required.
262
255
263
256
After creating the users, run queries to validate that the serverless SQL pool can query the storage account.
264
257
@@ -290,6 +283,8 @@ This guide has focused on setting up a basic access control system. You can supp
290
283
291
284
**Restrict operators from accessing code artifacts**. Create security groups for operators who need to monitor operational status of Synapse compute resources and view logs but who don't need access to code or to publish updates to the service. Assign these groups the Compute Operator role scoped to specific Spark pools and Integration runtimes.
292
285
286
+
**Disable local authentication**. By allowing only Azure Active Directory authentication, you can centrally manage access to Azure Synapse resources, such as SQL pools. Local authentication for all resources within the workspace can be disabled during or after workspace creation. For more information on Azure AD-only authentication, see [Disabling local authentication in Azure Synapse Analytics](../sql/active-directory-authentication.md).
287
+
293
288
## Next steps
294
289
295
290
- Learn [how to manage Azure Synapse RBAC role assignments](./how-to-manage-synapse-rbac-role-assignments.md)
Copy file name to clipboardExpand all lines: articles/synapse-analytics/security/synapse-workspace-access-control-overview.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
---
2
2
title: Azure Synapse workspace access control overview
3
-
description: This article describes the mechanisms used to control access to a Synapse workspace and the resources and code artifacts it contains.
3
+
description: This article describes the mechanisms used to control access to an Azure Synapse workspace and the resources and code artifacts it contains.
4
+
services: synapse-analytics
4
5
author: meenalsri
5
6
ms.service: synapse-analytics
6
7
ms.topic: overview
7
8
ms.subservice: security
8
-
ms.date: 11/02/2021
9
+
ms.date: 3/07/2022
9
10
ms.author: mesrivas
10
11
ms.reviewer: wiassaf
11
12
ms.custom: ignite-fall-2021
@@ -38,8 +39,9 @@ Azure roles are used to control management of:
38
39
39
40
To *create* these resources, you need to be an Azure Owner or Contributor on the resource group. To *manage* them once created, you need to be an Azure Owner or Contributor on either the resource group or the individual resources.
40
41
41
-
### Develop and execute code in Azure Synapse
42
+
An Azure Owner or Contributor can enable or disable Azure AD-only authentication for Azure Synapse workspaces. For more information on Azure AD-only authentication, see [Disabling local authentication in Azure Synapse Analytics](../sql/active-directory-authentication.md).
42
43
44
+
### Develop and execute code in Azure Synapse
43
45
Synapse supports two development models.
44
46
45
47
-**Synapse live development**. You develop and debug code in Synapse Studio and then **publish** it to save and execute. The Synapse service is the source of truth for code editing and execution. Any unpublished work is lost when you close Synapse Studio.
@@ -49,7 +51,8 @@ In both development models, any user with access to Synapse Studio can create co
49
51
50
52
### Azure Synapse roles
51
53
52
-
Azure Synapse roles are used to control access to the Synapse service that permit you to:
54
+
Azure Synapse roles are used to control access to the Synapse service. Different roles can permit you to:
55
+
53
56
- List published code artifacts,
54
57
- Publish code artifacts, linked services, and credential definitions,
55
58
- Execute code or pipelines that use Synapse compute resources,
@@ -98,7 +101,7 @@ Synapse Studio will behave differently based on your permissions and the current
98
101
-**Synapse live mode:** Synapse Studio will prevent you from seeing published content, publishing content, or taking other actions if you don't have the required permission. In some cases, you'll be prevented from creating code artifacts that you can't use or save.
99
102
-**Git-mode:** If you have Git permissions that let you commit changes to the current branch, then the commit action will be permitted if you have permission to publish changes to the live service (Synapse Artifact Publisher role), and the Azure Contributor role on the workspace.
100
103
101
-
In some cases, you are allowed to create code artifacts even without permission to publish or commit. This allows you to execute code (with the required execution permissions). [Learn more](./synapse-workspace-understand-what-role-you-need.md) about the roles required for common tasks.
104
+
In some cases, you're allowed to create code artifacts even without permission to publish or commit. This allows you to execute code (with the required execution permissions). For more information on the roles required for common tasks, see [Understand the roles required to perform common tasks in Azure Synapse](./synapse-workspace-understand-what-role-you-need.md).
102
105
103
106
If a feature is disabled in Synapse Studio, a tooltip will indicate the required permission. Use the [Synapse RBAC roles guide](./synapse-workspace-synapse-rbac-roles.md#synapse-rbac-actions-and-the-roles-that-permit-them) to look up which role is required to provide the missing permission.
Copy file name to clipboardExpand all lines: articles/synapse-analytics/security/synapse-workspace-synapse-rbac-roles.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,24 @@
1
1
---
2
-
title: Synapse RBAC roles
3
-
description: This article describes the built-in Synapse RBAC roles
2
+
title: Azure Synapse RBAC roles
3
+
description: This article describes the built-in Synapse RBAC (role-based access control) roles, the permissions they grant, and the scopes at which they can be used.
4
4
author: meenalsri
5
5
ms.service: synapse-analytics
6
6
ms.topic: conceptual
7
7
ms.subservice: security
8
-
ms.date: 11/02/2021
8
+
ms.date: 3/07/2022
9
9
ms.author: mesrivas
10
-
ms.reviewer: wiassaf
10
+
ms.reviewer: sngun, wiassaf
11
11
ms.custom: ignite-fall-2021
12
12
---
13
13
14
14
# Synapse RBAC Roles
15
15
16
16
The article describes the built-in Synapse RBAC (role-based access control) roles, the permissions they grant, and the scopes at which they can be used.
17
17
18
+
For more information on reviewing and assigning Synapse role memberships, see [how to review Synapse RBAC role assignments](./how-to-review-synapse-rbac-role-assignments.md) and [how to assign Synapse RBAC roles](./how-to-manage-synapse-rbac-role-assignments.md).
19
+
18
20
## What's changed since the preview?
21
+
19
22
For users familiar with the Synapse RBAC roles provided during the preview, the following changes apply:
20
23
- Workspace Admin is renamed **Synapse Administrator**
21
24
- Apache Spark Admin is renamed **Synapse Apache Spark Administrator** and has permission to see all published code artifacts, including SQL scripts. This role no longer gives permission to use the workspace MSI, which requires the Synapse Credential User role. This permission is required to run pipelines.
@@ -31,7 +34,7 @@ The following table describes the built-in roles and the scopes at which they ca
31
34
> Users with any Synapse RBAC role at any scope automatically have the Synapse User role at workspace scope.
32
35
33
36
> [!IMPORTANT]
34
-
> Synapse RBAC roles do not grant permissions to create or manage SQL pools, Apache Spark pools, and Integration runtimes in Synapse workspaces. Azure Owner or Azure Contributor roles on the resource group are required for these actions.
37
+
> Synapse RBAC roles do not grant permissions to create or manage SQL pools, Apache Spark pools, and Integration runtimes in Azure Synapse workspaces. Azure Owner or Azure Contributor roles on the resource group are required for these actions.
35
38
36
39
|Role |Permissions|Scopes|
37
40
|---|---|-----|
@@ -117,6 +120,5 @@ Credential |Synapse Administrator </br>Synapse Credential User
117
120
118
121
## Next steps
119
122
120
-
Learn [how to review Synapse RBAC role assignments](./how-to-review-synapse-rbac-role-assignments.md) for a workspace.
121
-
122
-
Learn [how to assign Synapse RBAC roles](./how-to-manage-synapse-rbac-role-assignments.md)
123
+
- Learn [how to review Synapse RBAC role assignments](./how-to-review-synapse-rbac-role-assignments.md) for a workspace.
124
+
- Learn [how to assign Synapse RBAC roles](./how-to-manage-synapse-rbac-role-assignments.md)
Copy file name to clipboardExpand all lines: articles/synapse-analytics/security/synapse-workspace-synapse-rbac.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
-
title: Synapse role-based access control
2
+
title: Azure Synapse role-based access control
3
3
description: An article that explains role-based access control in Azure Synapse Analytics
4
4
author: meenalsri
5
5
ms.service: synapse-analytics
6
6
ms.topic: conceptual
7
7
ms.subservice: security
8
-
ms.date: 12/1/2020
8
+
ms.date: 3/07/2022
9
9
ms.author: mesrivas
10
-
ms.reviewer: sngun
10
+
ms.reviewer: sngun, wiassaf
11
11
---
12
12
# What is Synapse role-based access control (RBAC)?
13
13
@@ -53,23 +53,28 @@ Synapse provides built-in roles that define collections of actions that match th
53
53
54
54
### Scopes
55
55
56
-
A _scope_ defines the resources or artifacts that the access applies to. Synapse supports hierarchical scopes. Permissions granted at a higher-level scope are inherited by objects at a lower level. In Synapse RBAC, the top-level scope is a workspace. Assigning a role with workspace scope grants permissions to all applicable objects in the workspace.
56
+
A _scope_ defines the resources or artifacts that the access applies to. Azure Synapse supports hierarchical scopes. Permissions granted at a higher-level scope are inherited by objects at a lower level. In Synapse RBAC, the top-level scope is a workspace. Assigning a role with workspace scope grants permissions to all applicable objects in the workspace.
57
57
58
-
Current supported scopes within a workspace are: Apache Spark pool, Integration runtime, linked service, and credential.
58
+
Current supported scopes within a workspace are:
59
+
60
+
- Apache Spark pool
61
+
- Integration runtime
62
+
- linked service
63
+
- credential
59
64
60
65
Access to code artifacts is granted with workspace scope. Granting access to collections of artifacts within a workspace will be supported in a later release.
61
66
62
67
## Resolving role assignments to determine permissions
63
68
64
-
A role assignment grants the principal the permissions defined by the role at the specified scope.
69
+
A role assignment grants a principal the permissions defined by the role at the specified scope.
65
70
66
71
Synapse RBAC is an additive model like Azure RBAC. Multiple roles may be assigned to a single principal and at different scopes. When computing the permissions of a security principal, the system considers all roles assigned to the principal and to groups that directly or indirectly include the principal. It also considers the scope of each assignment in determining the permissions that apply.
67
72
68
73
## Enforcing assigned permissions
69
74
70
75
In Synapse Studio, specific buttons or options may be grayed out or a permissions error may be returned when attempting an action if you don't have the required permissions.
71
76
72
-
If a button or option is disabled, hovering over the button or option shows a tooltip with the required permission. Contact a Synapse Administrator to assign a role that grants the required permission. You can see the roles that provide specific actions[here](./synapse-workspace-synapse-rbac-roles.md).
77
+
If a button or option is disabled, hovering over the button or option shows a tooltip with the required permission. Contact a Synapse Administrator to assign a role that grants the required permission. You can see the roles that provide specific actions, see [Synapse RBAC Roles](./synapse-workspace-synapse-rbac-roles.md).
73
78
74
79
## Who can assign Synapse RBAC roles?
75
80
@@ -79,7 +84,7 @@ When a new workspace is created, the creator is automatically given the Synapse
79
84
80
85
## Where do I manage Synapse RBAC?
81
86
82
-
Synapse RBAC is managed from within Synapse Studio using the Access control tools in the Manage hub.
87
+
Synapse RBAC is managed from within Synapse Studio using the access control tools in the **Manage** hub.
Copy file name to clipboardExpand all lines: articles/synapse-analytics/security/synapse-workspace-understand-what-role-you-need.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,18 @@
1
1
---
2
2
title: Understand the roles required to perform common tasks in Azure Synapse
3
-
description: This article describes which built-in Synapse RBAC role(s) are required to accomplish specific tasks
3
+
description: Understand which Synapse RBAC (role-based access control) roles or Azure RBAC roles you need to get work done in Synapse Studio.
4
4
author: meenalsri
5
5
ms.service: synapse-analytics
6
6
ms.topic: conceptual
7
7
ms.subservice: security
8
-
ms.date: 11/02/2021
8
+
ms.date: 3/07/2022
9
9
ms.author: mesrivas
10
-
ms.reviewer: wiassaf
10
+
ms.reviewer: sngun, wiassaf
11
11
ms.custom: ignite-fall-2021
12
12
---
13
13
# Understand the roles required to perform common tasks in Azure Synapse
14
14
15
-
This article will help you understand which Synapse RBAC (role-based access control) roles or Azure RBAC roles you need to get work done in Synapse Studio.
15
+
This article will help you understand which Synapse RBAC (role-based access control) roles or Azure RBAC roles you need to get work done in Synapse Studio. To manage role membership, see [Manage Synapse RBAC role assignments](./how-to-manage-synapse-rbac-role-assignments.md).
16
16
17
17
## Synapse Studio access control and workflow summary
18
18
@@ -62,6 +62,9 @@ The table below lists common tasks and for each task, the Synapse RBAC, or Azure
62
62
>[!Note]
63
63
> Synapse Administrator is not listed for each task unless it is the only role that provides the necessary permission. A Synapse Administrator can perform all tasks enabled by other Synapse RBAC roles.</br>
64
64
65
+
> [!Note]
66
+
> Guest users from another tenant are also able to review, add, or change role assignments once they have been assigned as Synapse Administrator.
67
+
65
68
The minimum Synapse RBAC role required is shown.
66
69
67
70
All Synapse RBAC roles at any scope provide you Synapse User permissions at the workspace.
@@ -129,8 +132,6 @@ ACCESS MANAGEMENT|
129
132
Review Synapse RBAC role assignments at any scope|Synapse User|read
130
133
Assign and remove Synapse RBAC role assignments for users, groups, and service principals| Synapse Administrator at the workspace or at a specific workspace item scope|roleAssignments/write, delete
131
134
132
-
> [!Note]
133
-
> Guest users from another tenant are also able to review, add, or change role assignments once they have been assigned as Synapse Administrator.
0 commit comments