I have a folder UserManagement with role based access and is as below.
<authorization>
<deny users="?" />
<allow roles="UserAdmin_M"/>
<allow roles="UserAdmin_MC"/>
<deny roles="ReportsAdmin"/>
</authorization>
Admin will have access to other folders as well like reports.
Now the problem is, I’m having an user “TestUser” with roles UserAdmin_M and ReportsAdmin but the application is blocking the access to “UserManagement” folder for TestUser. How to overcome this?
I might be wrong, but could this have something to do with the order in which you have assigned the roles to your user? From MSDN it states:
Make sure you are assigning the
UserAdmin_Mrole before theReportsAdminrule.FYI – you can comma separate roles in your configuration: