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

RBAC enhancements: don't fetch column if not allowed to fetch column #2111

Open
benjie opened this issue Jul 1, 2024 · 0 comments
Open

RBAC enhancements: don't fetch column if not allowed to fetch column #2111

benjie opened this issue Jul 1, 2024 · 0 comments

Comments

@benjie
Copy link
Member

benjie commented Jul 1, 2024

Since we know what role the request is running as and we know which roles can access each column, we should replace all fetches for ungranted columns with null. This would avoid RBAC errors if you try and request things you're not allowed to (though it may result in non-null blowups).

Maybe this should be achieved via an additional preset, and that preset would make all columns like this nullable?

@github-project-automation github-project-automation bot moved this to 🌳 Triage in V5.0.0 Jul 1, 2024
@benjie benjie removed this from V5.0.0 Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant