OData / OData/AspNetCoreOData

EDM per user (on request)

Open
#381 7 comments 0 reactions 1 assignee View on GitHub

@xuzhg is already working on this.

Since Nov 23, 2021.

followup question
Dominant language
C#
Stars
505
Forks
186
PR merge metrics
No merged PRs in 30d

Description

I have the problem where we want to provide an edm per user but we want to just restrict/remove the tables/fields that the user is not allowed to see. The solution provided above won't work since these EDMs can be generated each time there is a new user and we can't just add another model.

I see that you can change the model on a Get method via middleware and using the ODataFeature().Model Is there a way to do this doe post/patch/put?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.