0
Astech created
Is there any reason why we could not consolidate there attributes and just have one for system wide authorization? Or is it necessary to use a different one in the MVC project to the application service?
Thanks
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi @Astech,
AbpMvcAuthorizeinherits fromAuthorizeAttributewhich is defined inMicrosoft.AspNetCore.Authorizatio. Becasue of this, it can be used in web layer.AbpAuthorizecan be used in application layer.We could merge these two attributes but in that case, we can't use ASP.NET Core's
AuthorizeAttribute.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)