0
LongNP8 created
Hi,
I would like to setup some new Permission in platform, only users at Host level (Host admin, ex) could configure them. Tenant Admin is not allowed to see those Permissions to configure.
Could you please give us the solution for it ?
Thanks, Long
1 Answer(s)
-
0
Hi,
You can define permissions to be available only at the host/tenant or both levels.
myGroup.AddPermission( "BookStore_Author_Create", LocalizableString.Create<BookStoreResource>("Permission:BookStore_Author_Create"), multiTenancySide: MultiTenancySides.Host //set multi-tenancy side! );
For more information 👉 https://docs.abp.io/en/abp/latest/Authorization#multi-tenancy