ODataAuthorization: A library for Securing OData Endpoints #1404
Replies: 2 comments 1 reply
-
Interesting to see this development @bytefish. Does this work with the latest AspNetCore.OData version? For context, the referenced |
Beta Was this translation helpful? Give feedback.
-
@habbes @xuzhg I've made a PR to the official repository at: It would then support the latest I understand, that the OData team at Microsoft is a very small one. And this library never saw an official release, because there are other priorities and a different path forward has been chosen by Microsoft. Would it be better, if we move this library to the .NET Foundation? So it isn’t a liability to the OData team, but rather makes it a .NET community effort. I would also maintain it. |
Beta Was this translation helpful? Give feedback.
-
I have recently updated ODataAuthorization, which is a library for authorizing OData requests:
You basically set the Read / Update / Delete Restrictions on the EntitySets in your
IEdmModel
:And then you can add Authorization to the ASP.NET Core OData Endpoints like this:
It is based on the WebApiAuthorization library by Microsoft.
You can find a complete example here:
Beta Was this translation helpful? Give feedback.
All reactions