Hello i am using, Asp.net Zero v8.1.0 with Angular Abp version 5.4.0
this is most likely a general question about Abp Framework but i couldn't figure it out how to do this.
Is it possible for host users to skip the permissions when they do a backend call? Like let's say one method needs a tenant permission like 'Pages.Tenant.Dashboard' if you are a host user,then you should be able to call the method too. Since you can not give tenant permissions to a host user. Any idea about it?
Thank you for the assistance.
1 Answer(s)
-
0
Hi @cangunaydin
There is no feature like that by default. If host users are also calling the same app service, then you can change the scope of the permission, so you can grant host users to this permission.
If you don't want to do that, you need to check permission inside of the method and ignore it for host users.