I login with host user but when I try to call any authorized api then its returning 401 but permission is already given to the user.
How this 2nd level and third level permission are working. I added a permission on service then on function also but when i try to access function its now allowing me to access but permission is granted to the user.
how to fix this.
You mean permission system is not working completely? Are you sure? Is it working for a new create template (for the built-in permissions)?
It's working for a new template but I just add some more permission to the use in levels after that it was not working maybe I'm missing something.
Can you please explain me with an example that How this permission for multi-level is working
What do you mean by "multi-level". Have you read the documentation: https://aspnetboilerplate.com/Pages/Documents/Authorization
Please share your code instead of waiting an example (that is already present in the documentation).
Most helpful comment
What do you mean by "multi-level". Have you read the documentation: https://aspnetboilerplate.com/Pages/Documents/Authorization
Please share your code instead of waiting an example (that is already present in the documentation).