Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2060

Implement right-click/three-dot menu options based on data availability

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Situation: The right-click/three-dot menu items need to be greyed out for certain file/folder selections.

      For example, if a user has read access to a file that is public (shared with anonymous) in the shared folder, they can analyze the file and download the file, but they cannot manage the links or add metadata. If the same file were to be given write access, then they could analyze, download, add metadata, but they still could not manage the link (this needs to be tested). If the file were then to be made not public, but still have write access, then analyze and add metadata would work, but not manage link or download.

      Task: Create a flowchart that considers each of the possibilities of own/write/read and public/private for files/folders. Implement code in IGB-CyVerse that limits the right-click/three-dot menu options accordingly.

        Attachments

          Issue Links

            Activity

            nfreese Nowlan Freese created issue -
            nfreese Nowlan Freese made changes -
            Field Original Value New Value
            Epic Link IGBF-1482 [ 17568 ]
            nfreese Nowlan Freese made changes -
            Link This issue relates to IGBF-1960 [ IGBF-1960 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Open [ 1 ] To-Do [ 10305 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 20817 ] Revised Fall 2019 Workflow Update [ 21198 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Chaitanya Kintali [ chaitanya ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Attachment IGBF2060-ThreeDotMenu.docx [ 14451 ]
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Thought on viewing metadata:

            File is PRIVATE/PUBLIC, user has READ access - can we make it so that the user can view (but not interact) with the metadata in the right panel? This would make the metadata panel openable in all scenarios (public/private own/write/read).

            Situation: they would right-click on the file, click on metadata, the right panel would slide in with the metadata viewable, but the user would not be able to interact with it.

            *The metadata endpoint will allow a user with read access to view the metadata on a private/public file.

            Show
            nfreese Nowlan Freese added a comment - - edited Thought on viewing metadata: File is PRIVATE/PUBLIC, user has READ access - can we make it so that the user can view (but not interact) with the metadata in the right panel? This would make the metadata panel openable in all scenarios (public/private own/write/read). Situation: they would right-click on the file, click on metadata, the right panel would slide in with the metadata viewable, but the user would not be able to interact with it. *The metadata endpoint will allow a user with read access to view the metadata on a private/public file.
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Chaitanya Kintali [ chaitanya ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Comment [ Code Changes for the above ticket are:
            https://bitbucket.org/nfreese/django-cyversedev/pull-requests/78/igbf-2060/diff

            Moving to Need for Testing . ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Chaitanya Kintali [ chaitanya ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Post-merge Testing In Progress [ 10003 ] To-Do [ 10305 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Attachment IGBF2060-ThreeDotMenu.docx [ 14451 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Attachment IGBF2060-ThreeDotMenu.docx [ 14456 ]
            Show
            chaitanya Chaitanya Kintali (Inactive) added a comment - Code Changes: https://bitbucket.org/nfreese/django-cyversedev/pull-requests/79/igbf-2060/diff Moving to Needs Testing.
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Chaitanya Kintali [ chaitanya ]
            nfreese Nowlan Freese made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            Hide
            nfreese Nowlan Freese added a comment -

            Tested according to ThreeDotMenu.docx test file. Everything is working correctly for public/private and read/write/own.

            Closing issue.

            Show
            nfreese Nowlan Freese added a comment - Tested according to ThreeDotMenu.docx test file. Everything is working correctly for public/private and read/write/own. Closing issue.
            nfreese Nowlan Freese made changes -
            Assignee Chaitanya Kintali [ chaitanya ]
            nfreese Nowlan Freese made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Attachment IGBF2060-ThreeDotMenu.docx [ 14456 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Attachment IGBF2060-ThreeDotMenu_final.docx [ 14510 ]

              People

              • Assignee:
                chaitanya Chaitanya Kintali (Inactive)
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: