Skip to content

Conversation

@AhyoungRyu
Copy link
Contributor

What is this PR for?

Currently Zeppelin provides authorization mechanism on each notebooks. But it seems many users can not get much useful information through the existing notebook authorization docs. So I add some information so that users can follow step by step.

Moreover, interpreter authorization docs doesn't provide much information so far. This can be confused to users. So I removed it temporally. We can add it again when we have specific(?) feature for interpreter & data source authorization.

What type of PR is it?

Improvement | Documentation

Todos

  • - Remove security_overview.md & interpreter_authorization.md
  • - Improve notebook authorization docs

What is the Jira issue?

ZEPPELIN-939

How should this be tested?

Screenshots (if appropriate)

  • Before
    screen shot 2016-06-01 at 5 46 22 pm
  • After
    screen shot 2016-06-01 at 5 48 17 pm
    screen shot 2016-06-01 at 5 48 31 pm

Questions:

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

@AhyoungRyu AhyoungRyu changed the title Improve notebook authorization documentation [ZEPPELIN-939] Improve notebook authorization documentation Jun 2, 2016
The interpret method takes the user string as parameter and executes the jdbc call using a connection in the user's connection pool.

In case of Presto, we don't need password if the Presto DB server runs backend code using HDFS authorization for the user.
For databases like Vertica and Mysql we have to store password information for users.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree we should fine tune this description, but is it more confusing that it is absent?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@felixcheung Thanks for sharing your opinion. Yeah you're right. I also saw some informations is added in this docs at #860. So I'll revert this docs then.

@AhyoungRyu
Copy link
Contributor Author

AhyoungRyu commented Jun 5, 2016

@felixcheung I put interpreter_authorization.md file back again.

<center><img src="../assets/themes/zeppelin/img/docs-img/permission_setting.png"></center>

Fill out the each forms with comma seperated **users** and **groups** configured in `conf/shiro.ini` file.
If the form is empty (*), it means that any users can perform that operation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that empty or "*"?

Copy link
Contributor Author

@AhyoungRyu AhyoungRyu Jun 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@felixcheung The default value is set as *. It means a user left the text box empty.
Here is the default status of the notebook permission setting. As you can see in the placeholder :

screen shot 2016-06-07 at 1 10 06 pm

@felixcheung
Copy link
Member

minor question, looks good

@khalidhuseynov
Copy link
Member

LGTM

@corneadoug
Copy link
Contributor

No problem of rendering with the new "theme"
Merging if there is no more discussions

@asfgit asfgit closed this in 8553a08 Jun 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants