- Notifications
You must be signed in to change notification settings - Fork1k
feat: add lint check for API key scope enum completeness#19862
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
ThomasK33 merged 1 commit intomainfromthomask33/19846-build-time-check-db-enum-contains-all-rbac-scopesSep 24, 2025
Merged
feat: add lint check for API key scope enum completeness#19862
ThomasK33 merged 1 commit intomainfromthomask33/19846-build-time-check-db-enum-contains-all-rbac-scopesSep 24, 2025
+166 −1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2ba5550
toe548168
Compareab95a1f
to9bc8879
Compare9bc8879
to4afb40e
Compare1760157
to7a7e6ad
Compare4afb40e
to1ae7af6
Compare7a7e6ad
to1aba733
Compare0ccc74c
toc00de78
Compare1aba733
to99b5b53
Comparec00de78
to9b40119
Compare9b40119
todbe6a63
Comparedb8b42e
to32e7137
Comparedbe6a63
to4e8a5c3
CompareMemberAuthor
ThomasK33 commentedSep 18, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
32e7137
to682511c
Compare4e8a5c3
tod6334f6
Compare682511c
to0fd28db
Compare5b28178
toec2d8fb
Comparece47b02
to37f92fe
Compare This was referencedSep 22, 2025
37f92fe
to9c60b1f
Compareec2d8fb
to782f1c7
Compare9c60b1f
to2666417
Compare81b483f
tob27f312
Compare2666417
to5dd94bb
Compareb27f312
tofb0ce38
Compare5dd94bb
to3a1adbe
Comparee0432eb
tob4b6ef1
Compareb4b6ef1
tocfd4f7f
Compare This was referencedSep 24, 2025
Emyrk approved these changesSep 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Sweet!
acc0890
intomain 33 checks passed
Uh oh!
There was an error while loading.Please reload this page.
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading.Please reload this page.
Added a script/linter to ensure all
policy.RBACPermissions
entries are part of theapi_key_scope
enumerated in thecoderd/database/dump.sql
file.Fixes#19846