GitHub user ravicodder opened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/788

    Add username in place of Connected

    ### What is this PR for?
    To show more information on the navigation bar about user.
     - show 'Connected' if it is an anonymous user.
     - show the username if it is not an anonymous user.
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    * [x] - Change HTML
    
    ### What is the Jira issue?
    
    
    ### How should this be tested?
    Case 1 :   Anonymous User
                    to be an anonymous user, make the following changes in 
/conf/shiro.ini  file
                   1. Uncomment                    /** = anon
                   2. Comment                       /** = authcBasic
                   3. Restart Zeppelin.
    
    case 2:    Non-anonymous User
                   to be a non-anonymous user, make the following changes in 
/conf/shiro.ini  file
                   1. Comment                     /** = anon
                   2. Uncomment                 /** = authcBasic
                   3. Restart Zeppelin
                   4. On Zeppelin Web page it will ask for username and 
password. Use one of the username and    password from the list  given in 
conf/shiro.ini file to login.
    
    
    ### Screenshots (if appropriate)
    For example, if anonymous user it will show 'Connected'.
    ![screen shot 2016-03-21 at 12 14 53 
pm](https://cloud.githubusercontent.com/assets/7026661/13912405/dda37e08-ef62-11e5-9ccc-593406930da1.png)
    And for non -anonymous user for example a user with userid 'admin'  will 
show the username as below
    ![screen shot 2016-03-21 at 12 16 28 
pm](https://cloud.githubusercontent.com/assets/7026661/13912407/defceaf0-ef62-11e5-8186-ea08ddee8baf.png)
    
    ### Questions:
    * Does the licenses files need update?no
    * Is there breaking changes for older versions?no
    * Does this needs documentation?no


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ravicodder/incubator-zeppelin showUsername

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-zeppelin/pull/788.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #788
    
----
commit babeadd9dc547f3f520169701d314937da2c6957
Author: Ravi Ranjan <ranjanravi0...@gmail.com>
Date:   2016-03-21T07:09:43Z

    Add username in place of Connected

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to