-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-1718] Prevent anonymous user to set note permission #1694
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
Conversation
|
Haven't tried it yet, but IMO we should have a check at backned for the same (both API and websocket). |
|
It is a cool feature. Web ui can be manipulated very easily by the user, so we think that we need to modify the above restful api additionally. |
|
@prabhjyotsingh @cloverhearts Didn't think about that way. It makes sense. Thanks for your suggestion. Let me update then :) |
|
It's working well but I agree with @prabhjyotsingh and @cloverhearts blocking to change the permission on a backend side too. |
d866c03 to
b59c22b
Compare
e5d2c47 to
06c6326
Compare
b59771c to
e970e25
Compare
|
@prabhjyotsingh @cloverhearts @astroshim Sorry for my late response. And if you guys don't mind, will handle blocking interpreter owner setting part by anon user in other PR. |
3d5b8a9 to
e63b624
Compare
e63b624 to
72ecf6a
Compare
|
CI is all green now! Ready to review. Since from this PR
So I rewrote them based on #1567's |
|
Can someone review this one? 🎅🏼 |
|
Tested, works as expectation. LGTM! |
|
@prabhjyotsingh Thanks! :D |
|
Will merge this into master if there are no more comments! |
|
@Leemoonsoo #1821 |
|
Hi, |
|
@RoxanaTapia Could you file a Jira issue here https://issues.apache.org/jira/projects/ZEPPELIN so that it can be tracked & handled separately ? Once a patch is merged, can't be opened again or tracked anymore. |
|
@AhyoungRyu Thanks for the quick response, here is the JIRA ticket link https://issues.apache.org/jira/browse/ZEPPELIN-3133 |
|
@AhyoungRyu I'm still experiencing this issue, any idea how can I patch it, using credentials or roles? |
|
@AhyoungRyu Here is the JIRA ticket link. It would be great if you could throw some insights on options if any available to get-around with this issue |

What is this PR for?
Currently anonymous user can open the notebook permission page and type sth in
Owner/Reader/Writerand then even can save it. However, in fact, it doesn't work actually.e.g. An anonymous user can type
admin/user1to the note permission setting fields.It doesn't make sense. At least we should disallow the non-authenticated users(a.k.a anonymous users) by deactivating those permission related features(will handle interpreter owner setting in another PR). So what I did in this PR is
TODO
What type of PR is it?
Bug Fix | Improvement
What is the Jira issue?
ZEPPELIN-1718
How should this be tested?
Screenshots (if appropriate)
Questions: