Hi @Tisha Sinha , you can create custom roles and assign them to users or groups to manage access to specific repositories in your container registry.
Here's how you can set repository-level permissions for your scenario using Azure RBAC:
- Create two custom roles, one for each team, with the appropriate permissions for the repositories they need access to. For example, create a custom role for team1 with permissions to R1 and R2, and a custom role for team2 with permissions to R1 and R3.
- Assign the custom roles to the respective teams. You can assign roles at the subscription, resource group, or individual repository level.
- When a user authenticates with their Azure AD credentials, they will only have access to the repositories specified in their assigned role. In your scenario, a user who is a member of both teams will have access to all three repositories if they have been assigned the appropriate roles.
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James