0
ajayak created
Hi,
I want to allow an AppService either to be consumed Permission1 OR permission2. How can I do so using
[AbpAuthorize]
?
2 Answer(s)
-
0
Refer to these test cases:
// Should be called. Permission3 is not granted but Permission1 is granted. [AbpAuthorize("Permission1", "Permission3")] public virtual void MethodWithPermission1AndPermission3() { } // Should not be called. Permission3 is not granted and it required all permissions must be granted [AbpAuthorize("Permission1", "Permission3", RequireAllPermissions = true)] public virtual void MethodWithPermission1AndPermission3WithRequireAll() { }
-
0
Thanks, @aaron :)