Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-2172

Zeppelin UI: On remove of read / write permissions the UI does not go to homepage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.1, 0.8.0
    • None

    Description

      Steps:
      1. Create a notebook with qa_user user as the owner
      2. Give write permissions to user test_user1, and read permissions to user test_user3
      3. Now in another tab, open the notebook with test_user1 user who has write permissions
      4. In the original tab, have user qa_user (owner of the notebook) remove the write permissions from test_user1 user and grant it to some other user test_user5.
      5. Goto the other tab where user test_user1 was logged in. It shows the corrects message as below

      Insufficient privileges to readnote.
      
      Allowed users or roles: [test_user5]
      
      But the user test_user1 belongs to: [test_user1]
      

      6. But on the click of Close button, the contents of the page are still readable. See attached screenshots. Ideally it should go to the homepage, as the user does not have read / write permissions to the notebook anymore.

      Please note on the refresh of the page the user cannot see the contents.

      Attachments

        Issue Links

          Activity

            People

              ess_ess Sravan S
              nmaheshwari Namit Maheshwari
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: