antosubash / blog-comments

MIT License
0 stars 0 forks source link

posts/abp-authorization-p3 #3

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Authorization in dotnet core with ABP. Part 3 | Anto Subash

Anto's personal blog.

https://blog.antosubash.com/posts/abp-authorization-p3

kbsiva commented 2 years ago

Wow crisp and clear explanation..

anndream commented 2 years ago

Hi Sir, can I custom user level like this link bellow by abp framework https://docs.microsoft.com/en-us/aspnet/core/security/authorization/secure-data?view=aspnetcore-5.0

admin host(view crud all) user crud and view only owner data thank you for you advise

antosubash commented 2 years ago

@anndream you can try something like this https://docs.microsoft.com/en-us/aspnet/core/security/authorization/secure-data?view=aspnetcore-5.0#create-owner-manager-and-administrator-authorization-handlers

you can write your own AuthorizationHandler and then apply it.

anndream commented 2 years ago

@antosubash thank you for you advise

enderinmekani commented 1 year ago

hi anto, how can i manage permissions and roles with endpoints. example; i want to remove some permissions from admin role maybe.