ABP Framework version: v4.2.2 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Seperated (Angular): no / yes Exception message and stack trace: Steps to reproduce the issue:
We are not providing permission to create new user in granted policies still we are able to see new user create button.
The below permission is false and still we are able to see new user button
AbpIdentity.Users.Create
2 Answer(s)
-
0
Hello,
I've tried it with the latest version, and it seems to be working as expected. I've checked the code, it should be the same as v4.2.2
Here is what I've tried,
With admin user, I've removed
AbpIdentity.Users.Create
permission from myself which triggered a request to the backend as follows:As you can see from the response,
AbpIdentity.Users.Create
is not present withingrantedPolicies
. When I navigated tousers
page again,New user
the button is not being displayed to me.Everything in action:
-
0
This question has been automatically marked as stale because it has not had recent activity.