Reputation: 53
I need to give different level of access to different users (or groups) on an Azure WebApp and its deployment slots.
If I give a user access to only a deployment slot, he cannot see it on the Azure Management Portal.
If I give a user access as "Reader" to the entire web app, he can change application settings (it was not supposed to happen)
If I give a user access as "Reader" to the entire web app and as "Owner" to a particular slot, he can change application settings and he can swap the LIVE app (both they were not supposed to happen)
Someone can explain to me how to give "Owner" permission only to a deployment slot and not to the whole application? Thanks!
Upvotes: 2
Views: 2446
Reputation: 43193
I'll tackle the 3 questions below
It's a portal bug (it will get fixed). Luckily, there is a workaround which is not too painful:
https://portal.azure.com/#resource/subscriptions/{sub}/resourceGroups/{ResourceGroup}/providers/Microsoft.Web/sites/{AppName}/slots/{SlotName}
It just looks that way due to another Portal bug, but they really can't. e.g.
The Portal team is aware of it and will address it. But security wise, it is harmless.
That sounds like a bug and I will report it. Good catch!
The good news is that if you don't give them Reader access to the Web App, they won't be able to do this. So just use the technique I described in the first question, and everything should work fine for your scenario
Upvotes: 3