Skip to content

Commit b45a75d

Browse files
committed
Acrolinx fixes, delete portal, move assignableScopes
1 parent 948f4cd commit b45a75d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/role-based-access-control/role-definitions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Condition
3434
ConditionVersion
3535
```
3636

37-
The following shows an example of the properties in a role definition when displayed using the [Azure portal](role-definitions-list.md#azure-portal), [Azure CLI](role-definitions-list.md#azure-cli), or the [REST API](role-definitions-list.md#rest-api):
37+
The following shows an example of the properties in a role definition when displayed using the [Azure CLI](role-definitions-list.md#azure-cli) or [REST API](role-definitions-list.md#rest-api):
3838

3939
```
4040
roleName
@@ -43,11 +43,11 @@ id
4343
roleType
4444
type
4545
description
46-
assignableScopes []
4746
actions []
4847
notActions []
4948
dataActions []
5049
notDataActions []
50+
assignableScopes []
5151
condition
5252
conditionVersion
5353
createdOn
@@ -62,8 +62,8 @@ The following table describes what the role properties mean.
6262
| --- | --- |
6363
| `Name`</br>`roleName` | Display name of the role. |
6464
| `Id`</br>`name` | Unique ID of the role. Built-in roles have the same role ID across clouds. |
65-
| `id` | Fully-qualified unique ID of the role. |
66-
| `IsCustom`</br>`roleType` | Indicates whether this is a custom role. Set to `true` or `CustomRole` for custom roles. Set to `false` or `BuiltInRole` for built-in roles. |
65+
| `id` | Fully qualified unique ID of the role. |
66+
| `IsCustom`</br>`roleType` | Indicates whether this role is a custom role. Set to `true` or `CustomRole` for custom roles. Set to `false` or `BuiltInRole` for built-in roles. |
6767
| `type` | Type of object. Set to `Microsoft.Authorization/roleDefinitions`. |
6868
| `Description`</br>`description` | Description of the role. |
6969
| `Actions`</br>`actions` | Array of strings that specifies the control plane actions that the role allows to be performed. |
@@ -398,7 +398,7 @@ Examples of valid assignable scopes include:
398398
399399
You can define only one management group in `AssignableScopes` of a custom role.
400400

401-
Although it's possible to create a custom role with a resource instance in `AssignableScopes` using the command line, it's not recommended. Each tenant supports a maximum of 5000 custom roles. Using this strategy could potentially exhaust your available custom roles. Ultimately, the level of access is determined by the custom role assignment (scope + role permissions + security principal) and not the `AssignableScopes` listed in the custom role. So, create your custom roles with `AssignableScopes` of management group, subscription, or resource group, but assign the custom roles with narrow scope, such as resource or resource group.
401+
Although it's possible to create a custom role with a resource instance in `AssignableScopes` using the command line, it's not recommended. Each tenant supports a maximum of 5,000 custom roles. Using this strategy could potentially exhaust your available custom roles. Ultimately, the level of access is determined by the custom role assignment (scope + role permissions + security principal) and not the `AssignableScopes` listed in the custom role. So, create your custom roles with `AssignableScopes` of management group, subscription, or resource group, but assign the custom roles with narrow scope, such as resource or resource group.
402402

403403
For more information about `AssignableScopes` for custom roles, see [Azure custom roles](custom-roles.md).
404404

0 commit comments

Comments
 (0)