-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Planbuilder Authorization #2712
Conversation
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.
An interface might make more sense than a function pointer. And you definitely need to be getting more info from the builder to avoid doing unnecessary work.
But this seems like a big improvement over putting auth on every node type.
Can we get rid of PrivilegedDatabase as well? That thing has always been a pain.
cbb9ee1
to
66dbf92
Compare
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.
directionally lgtm, i agree w/ zach re: deleting the old interface and validation analyzer rules
66dbf92
to
22f2187
Compare
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.
Mostly much more elegant, just the two main comments about deleting code and then whether auth on catalog would solve some of your TODOs
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.
LGTM
ff77a2a
to
0372991
Compare
0372991
to
263d9f2
Compare
What's missing:
information_schema
doesn't restrict it's output yetI think
SHOW
andinformation_schema
will probably have the same solution, which may be to continue doing what we were doing before. Besides that, pretty much every works according to our current tests (outside of the aforementioned missing items).