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

Fixing Zeppelin-838: Minor improvement to error message #872

Closed
wants to merge 1 commit into from

Conversation

vinayshukla
Copy link
Contributor

What is this PR for?

This JIRA improves the error message displayed when the current user opens a notebook to which the user is not allowed access to.

What type of PR is it?

[Minor Improvement ]

Todos

  • None

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-838

How should this be tested?

Get the change in this pull request. Build Zeppelin, configure shiro authentication by commenting out the 1st line below and modifying the corresponding line for 2nd line.

/** = anon

/** = authcBasic
Log in as user1, configure a notebook to only allow access to only user1, now access that same notebook as user2 and note the new error message.

Screenshots (if appropriate)

Screenshot:-Before
Screenshot:-After

Questions:

  • Does the licenses files need update? --No
  • Is there breaking changes for older versions? --No
  • Does this needs documentation? -- No

@felixcheung
Copy link
Member

The term "note" is in fact used in a few places to refer to a notebook. I don't have a preference either way so I'd leave others to comment on that.

@vinayshukla
Copy link
Contributor Author

Thanks for the review @felixcheung. Would be great to get another review and if there are no comments, can someone help get it merged upstream.

@prabhjyotsingh
Copy link
Contributor

LGTM

2 similar comments
@Leemoonsoo
Copy link
Member

LGTM

@r-kamath
Copy link
Member

LGTM

@prabhjyotsingh
Copy link
Contributor

Merging this if no more discussion.

@asfgit asfgit closed this in 0e719df May 19, 2016
shijinkui pushed a commit to shijinkui/incubator-zeppelin that referenced this pull request May 26, 2016
### What is this PR for?
This JIRA improves the error message displayed when the current user opens a notebook to which the user is not allowed access to.

### What type of PR is it?
[Minor Improvement ]

### Todos
* None

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-838

### How should this be tested?
Get the change in this pull request. Build Zeppelin, configure shiro authentication by commenting out the 1st line below and modifying the corresponding line for 2nd line.
#/** = anon
/** = authcBasic
Log in as user1, configure a notebook to only allow access to only user1, now access that same notebook as  user2 and note the new error message.

### Screenshots (if appropriate)

[Screenshot:-Before](https://issues.apache.org/jira/secure/attachment/12802057/Screen%20Shot%202016-05-03%20at%203.16.58%20PM.png)
[Screenshot:-After](https://issues.apache.org/jira/secure/attachment/12802065/Screen%20Shot%202016-05-03%20at%203.17.36%20PM.png)

### Questions:
* Does the licenses files need update? --No
* Is there breaking changes for older versions? --No
* Does this needs documentation? -- No

Author: Vinay Shukla <vshukla@HW12335.local>

Closes apache#872 from vinayshukla/zeppelin-838 and squashes the following commits:

ce4b3bd [Vinay Shukla] Fixing Zeppelin-838: Minor improvement to error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants