Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide finer access control rules #686

Open
ramnivas opened this issue Mar 28, 2023 · 0 comments
Open

Provide finer access control rules #686

ramnivas opened this issue Mar 28, 2023 · 0 comments
Labels
Milestone

Comments

@ramnivas
Copy link
Contributor

ramnivas commented Mar 28, 2023

Currently, we support access rules for query, create, update, and delete. However, they apply to both forms of APIs: single and bulk. We could offer a more fine-grained control. Along with #685, this could help reduce the exposed APIs.

An example:

@access(query=true) // current
@access(query={single=true, bulk=false, aggregate=false}

Given the new format, we could also rearrange to make the current access control override hierarchy explicit (here, update overrides mutation):

@access(mutation=..., update=...)

to

@access(mutation={default:..., update: ...}
@ramnivas ramnivas added the P2 label May 18, 2023
@ramnivas ramnivas added this to the M2 milestone Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant