Forum Discussion

Andrew Silcock's avatar
Andrew Silcock
Steel Contributor
Jun 07, 2019

Clicking the Copy link button instantly breaks the inheritance of the file or folder

Hi all,

 

This is something that needs sorting out.  The scenario is, I want to copy a "People with existing access link", using the Copy link button in the ribbon of a modern document library.

 

As soon as I click "Copy link" the inheritance of the file or folder is broken.  This is expected when using the Anyone, people in your organisation or specific people links, but not "People with existing access."

 

One of the reasons this is occurring is that we cannot specify "People with existing access." as the default link.  Which is something we want, but is a discussion for a different post.

 

Before breaking the inheritance of the file or folder, the button code needs to wait until the user has selected the appropriate option before breaking the inheritance.

    • StephenRice's avatar
      StephenRice
      Icon for Microsoft rankMicrosoft

      Thanks for tagging me ChrisWebbTech !

       

      Andrew Silcock, when you click "copy link", what type of link is being copied? If your default link is a link that works for anyone or a link that only works for people in your organization, then copy link will always break inheritance immediately.

       

      If your default links is a link that only works for specific people, copy link will default to a people with existing access link and will not break inheritance. I just tried this again myself and saw this behavior so if you are seeing something different, please let me know!

       

      And about people with existing access as a default, I don't have anything to share... yet. ;)

      Stephen Rice

      OneDrive Program Manager II

      • ChrisWebbTech's avatar
        ChrisWebbTech
        MVP
        So desperately need that for copy link. Hopefully there is a separate option for sharing and copy.

        The ideal setup IMO
        Sharing - specific people default
        Copy - Existing access

  • Andrew Silcock if you can set your link default to Specific People as StephenRice  said, it works the way you would expect. Share = Specific people default, Copy Link = Existing access. It works great just tested myself. 

    • StephenRice's avatar
      StephenRice
      Icon for Microsoft rankMicrosoft

      ChrisWebbTech 

       

      This is how it worked when it shipped. I think it might have had a bug earlier this year which was then fixed.

       

      Always nice when I can build someone's ideal feature instantly though ;)

       

       

      Stephen Rice

      OneDrive Program Manager II

Resources