0
ajayak created
Hi,
I want to allow an AppService either to be consumed Permission1 OR permission2. How can I do so using
[AbpAuthorize]
?
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
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() { }Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks, @aaron :)
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)