A user is assigned the Reader role at the subscription scope and the Contributor role at the scope of resource group rg-app. Which statement describes the user's effective permissions?
- A.
The user has read-only access everywhere, because the subscription-scope role overrides lower scopes.
- B.
The user has Contributor access to the whole subscription, because the highest permission wins everywhere.
- C.
The user can create and modify resources in
rg-appand has read-only access to everything else in the subscription. - D.
The user has no access until one of the two assignments is removed.
Show answer and explanation
Answer: C
Azure RBAC role assignments are additive. The user keeps Reader from the subscription and also gets Contributor on rg-app through the more specific assignment.
- The user has read-only access everywhere, because the subscription-scope role overrides lower scopes.: Roles do not override each other; permissions from all assignments are combined.
- The user has Contributor access to the whole subscription, because the highest permission wins everywhere.: A role assigned at a resource group applies only to that group and its resources.
- The user has no access until one of the two assignments is removed.: Overlapping assignments do not conflict; Azure RBAC has no implicit conflict state.