Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2, Fall 2019 Sprint 3, Fall 5 : 14 Oct to 25 Oct, Fall 6 : 28 Oct to 8 Nov

      Description

      Implement the ability to make a folder public -share a folder with another user-.

      1) Implement Share Folder API
      2) Create Models
      3) Create Views
      4) Create Request and Response Parser
      5) Unit Test the Endpoint

        Attachments

          Issue Links

            Activity

            chaitanya Chaitanya Kintali (Inactive) created issue -
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            Show
            chaitanya Chaitanya Kintali (Inactive) added a comment - Link for Code changes: https://bitbucket.org/nfreese/django-cyversedev/pull-requests/48/change-the-hardcoded-string-to-include-the/diff Moving to Needs Testing.
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status In Progress [ 3 ] Needs Testing [ 10002 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Chaitanya Kintali [ chaitanya ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Ann Loraine [ aloraine ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11 [ 70 ] Summer 2019 Sprint 11, Summer 2019 Sprint 12 [ 70, 71 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Epic Link IGBF-1482 [ 17568 ]
            nfreese Nowlan Freese made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ]
            nfreese Nowlan Freese made changes -
            Summary Implement Share Folder API Implement Share File or Folder API
            nfreese Nowlan Freese made changes -
            Summary Implement Share File or Folder API Implement Share Folder API
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ]
            nfreese Nowlan Freese made changes -
            Status Testing In Progress [ 10003 ] Needs Testing [ 10002 ]
            nfreese Nowlan Freese made changes -
            Description 1) Implement Share Folder API
            2) Create Models
            3) Create Views
            4) Create Request and Response Parser
            5) Unit Test the Endpoint
            Implement the ability to share a folder with another user.

            1) Implement Share Folder API
            2) Create Models
            3) Create Views
            4) Create Request and Response Parser
            5) Unit Test the Endpoint
            nfreese Nowlan Freese made changes -
            Link This issue is blocked by IGBF-1960 [ IGBF-1960 ]
            Hide
            nfreese Nowlan Freese added a comment -

            There is currently no way to share a folder in the BioViz-CyVerse UI as we need to implement the right-click/3-dot functionality for folders, so this issue is currently blocked for testing by IGBF-1960.

            Show
            nfreese Nowlan Freese added a comment - There is currently no way to share a folder in the BioViz-CyVerse UI as we need to implement the right-click/3-dot functionality for folders, so this issue is currently blocked for testing by IGBF-1960 .
            nfreese Nowlan Freese made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Issue Type Bug [ 1 ] Task [ 3 ]
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Email from Paul Sarando at CyVerse:

            "I think this is a known issue with our data service:

            When sharing a file with a user, our service also shares the enclosing
            parent folders of that file, in order for that user to be able to
            navigate down to the file within the DE's data window (those parent
            folders have to be readable to that user in order to display in the
            data window for navigation).

            I think that folder was automatically shared with anonymous after
            sharing its file, so our service decided no action needed to be taken
            when attempting to directly share that folder with anonymous.

            It seems unsharing first is a good workaround for now. Sorry for the
            inconvenience.

            Regards,
            Paul"

            Show
            nfreese Nowlan Freese added a comment - - edited Email from Paul Sarando at CyVerse: "I think this is a known issue with our data service: When sharing a file with a user, our service also shares the enclosing parent folders of that file, in order for that user to be able to navigate down to the file within the DE's data window (those parent folders have to be readable to that user in order to display in the data window for navigation). I think that folder was automatically shared with anonymous after sharing its file, so our service decided no action needed to be taken when attempting to directly share that folder with anonymous. It seems unsharing first is a good workaround for now. Sorry for the inconvenience. Regards, Paul"
            Hide
            nfreese Nowlan Freese added a comment -

            We will need to make two API calls to share a folder with a user or to make the folder public (the behavior is the same for both):
            First API call: unshare the folder
            Second API call: share the folder

            Show
            nfreese Nowlan Freese added a comment - We will need to make two API calls to share a folder with a user or to make the folder public (the behavior is the same for both): First API call: unshare the folder Second API call: share the folder
            nfreese Nowlan Freese made changes -
            Status Needs Testing [ 10002 ] Open [ 1 ]
            nfreese Nowlan Freese made changes -
            Story Points 0.5 1
            nfreese Nowlan Freese made changes -
            Link This issue relates to IGBF-1962 [ IGBF-1962 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Chaitanya Kintali [ chaitanya ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Status In Progress [ 3 ] Needs Testing [ 10002 ]
            chaitanya Chaitanya Kintali (Inactive) made changes -
            Assignee Chaitanya Kintali [ chaitanya ]
            Hide
            chaitanya Chaitanya Kintali (Inactive) added a comment -

            Link for (API) code Changes.
            https://bitbucket.org/nfreese/django-cyversedev/pull-requests/57/major-fixes/diff

            This issue is currently blocked for testing by IGBF-1960.

            Show
            chaitanya Chaitanya Kintali (Inactive) added a comment - Link for (API) code Changes. https://bitbucket.org/nfreese/django-cyversedev/pull-requests/57/major-fixes/diff This issue is currently blocked for testing by IGBF-1960 .
            nfreese Nowlan Freese made changes -
            Summary Implement Share Folder API Implement Make Folder Public API
            Hide
            nfreese Nowlan Freese added a comment -

            I'm moving sharing of folders/files to the backlog. I changed the title of this issue to reflect that the folder will not be shared with user but made public (sharing with anonymous).

            Show
            nfreese Nowlan Freese added a comment - I'm moving sharing of folders/files to the backlog. I changed the title of this issue to reflect that the folder will not be shared with user but made public (sharing with anonymous).
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11, Summer 2019 Sprint 12 [ 70, 71 ] Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1 [ 70, 71, 72 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 18647 ] Fall 2019 Workflow Update [ 19038 ]
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1 [ 70, 71, 72 ] Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2 [ 70, 71, 72, 73 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2 [ 70, 71, 72, 73 ] Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2, Fall 2019 Sprint 4 [ 70, 71, 72, 73, 74 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2, Fall 2019 Sprint 3 [ 70, 71, 72, 73, 74 ] Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2, Fall 2019 Sprint 3, Fall 2019 Sprint 4 [ 70, 71, 72, 73, 74, 75 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Sprint Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2, Fall 2019 Sprint 3, Fall 4 : 30 Sep to 11 Oct [ 70, 71, 72, 73, 74, 75 ] Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2, Fall 2019 Sprint 3, Fall 5 : 14 Oct to 25 Oct [ 70, 71, 72, 73, 74, 76 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19038 ] Revised Fall 2019 Workflow Update [ 21145 ]
            ann.loraine Ann Loraine made changes -
            Sprint Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2, Fall 2019 Sprint 3, Fall 5 : 14 Oct to 25 Oct [ 70, 71, 72, 73, 74, 76 ] Summer 2019 Sprint 11, Summer 2019 Sprint 12, Fall 2019 Sprint 1, Fall 2019 Sprint 2, Fall 2019 Sprint 3, Fall 5 : 14 Oct to 25 Oct, Fall 6 : 28 Oct to 8 Nov [ 70, 71, 72, 73, 74, 76, 77 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ]
            nfreese Nowlan Freese made changes -
            Description Implement the ability to share a folder with another user.

            1) Implement Share Folder API
            2) Create Models
            3) Create Views
            4) Create Request and Response Parser
            5) Unit Test the Endpoint
            Implement the ability to make a folder public --share a folder with another user--.

            1) Implement Share Folder API
            2) Create Models
            3) Create Views
            4) Create Request and Response Parser
            5) Unit Test the Endpoint
            Hide
            nfreese Nowlan Freese added a comment -

            Now able to make a folder recursively public.

            Closing issue.

            Note: Due to how the Terrain API behaves in regard to "public" (shared with anonymous) data, if a single file within a folder is listed as public, then the enclosing folder is also considered public. This is somewhat confusing, as a folder can be listed as public, but not all files contained are public. Currently, user would see that a folder is public, but only a single file contained could be public. To make the folder "completely" public, they would need to remove the public link to the folder, and then make a public link for the folder. Due to Terrain I do not think there is any way to get around this, currently.

            Show
            nfreese Nowlan Freese added a comment - Now able to make a folder recursively public. Closing issue. Note: Due to how the Terrain API behaves in regard to "public" (shared with anonymous) data, if a single file within a folder is listed as public, then the enclosing folder is also considered public. This is somewhat confusing, as a folder can be listed as public, but not all files contained are public. Currently, user would see that a folder is public, but only a single file contained could be public. To make the folder "completely" public, they would need to remove the public link to the folder, and then make a public link for the folder. Due to Terrain I do not think there is any way to get around this, currently.
            nfreese Nowlan Freese made changes -
            Assignee Nowlan Freese [ nfreese ] Chaitanya Kintali [ chaitanya ]
            nfreese Nowlan Freese made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: