KorzhCom / EasyData

Adaptive CRUD for ASP.NET Core. With EasyData you can get both API endpoints and client-side UI for all CRUD operations in a matter of minutes using just your DbContext and a few lines of code.
MIT License
594 stars 63 forks source link

Support authorization #119

Closed sudnep closed 2 years ago

sudnep commented 2 years ago

Support to add role-based, policy-based authorization.

korzh commented 2 years ago

Hello,

What exactly do you mean by "support for authorization"?

Because EasyQuery already includes basic auth support via standard RequireAuthorization extension function:

endpoints.MapEasyData(...).RequireAuthorization("AuthPolicyName");
antifree commented 2 years ago

I'll close due to inactivity