Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-68023

Link Object Resolver doesn't work for Anonymous users

    XMLWordPrintable

    Details

      Description

      UPDATE 21 DECEMBER 2020

      Hi all! My name is Jonno and I’m a PM on the Atlassian Cloud Editor in Confluence Cloud. Thanks for your feedback.

      Confirming the problem

      To firstly make sure I’m on the same page, the problem as I see it being discussed is that:

      • You want to share docs on Confluence with external customers or stakeholders to your company.
      • The Smart Links that automatically render, require authentication, even if a Confluence page is public. Therefore, external readers can’t see the title of the link and just see an unresolved state of the Smart Link with a URL and a message to connect your account.
      • To work around this, you’re currently required to update the formatting of all the links to be plain text hyperlinks.

      Can you please confirm this accurately captures the problem? If not, can you please provide more details.

      Why the current state?

      To give some context about the current state, we require authentication, because we do our best to respect the permissions of the links referenced on a page. Thus, the meta-data associated with the link can’t be retrieved without knowing who the page consumer/reader is. We want to avoid a situation where someone with access to a page that’s public can see the content of a different page, Jira issue, Google Drive file, etc, that’s intentionally been made private.

      That said, we know that we don’t currently support automatically resolving the meta-data of a Smart Link that’s on a page, even if the link itself is public. We’re keen to dig into this problem, and are hoping you can help shed some light on your needs and use cases with us. Please see the next section and its associated questions.

      In the meantime, if you want to opt out of the Smart Links experience, we’ve recently added the ability to easily change a Smart Link to a normal URL. To do so, simply select a Smart Link → select the view switcher in the floating toolbar → select the Display URL option in the dropdown.

      Help we need from you to better understand how we could progress this

      To help understand your exact problems, could you please clarify the following questions:

      1. Are the links you’re trying to share just other Confluence links? Or are they also links to other products (e.g. Google Drive and Jira issues)?
      1. Are the links you’re trying to share on the page, also public?

      We’d love to have a chat to better understand your needs. If you’re interested, you can book in a time to have a 1:1 conversation with me here - https://calendly.com/jkatahanas/atlassian-cloud-editor-anon-user-smart-link

      Thanks again for the feedback. I’m moving this ticket to “Gathering Impact”. Looking into this more, we need more context before we can decide on the best path forward.

      Cheers,

      Jonno | PM, Atlassian Cloud Editor

      Summary

      • If you insert a link to a page in Confluence, the URL of the page will automatically create the link. The title of the page will be the text that will be displayed.
      • This works for logged in users. However, for Anonymous user, they can see the URL of the page instead of the Page Title with the link.

      Environment

      Fabric Editor

      Steps to Reproduce

      1. Create Page 1
      2. Create Page 2 and insert a link to Page 1
      3. Logged in user to access Page 2
      4. Enable Anonymous Access to the site and space
      5. Anonymous user to access Page 2

      Expected Results

      • Link Object Resolver should also work for Anonymous User.

      Actual Results

      • Anonymous users can see the URL of the page instead of the Page Title with the link.
      • An internal link (ac:link) automatically becomes an external link (href) when display text is added.

      Workaround

      • Add "Text to Display" on the link.

        Attachments

        1. Anonymous Users.png
          Anonymous Users.png
          17 kB
        2. image-2020-12-21-15-38-55-149.png
          image-2020-12-21-15-38-55-149.png
          38 kB
        3. image-2020-12-21-15-39-39-503.png
          image-2020-12-21-15-39-39-503.png
          38 kB
        4. logged in users.png
          logged in users.png
          16 kB
        5. Screen Shot 2020-09-28 at 11.55.38 AM.png
          Screen Shot 2020-09-28 at 11.55.38 AM.png
          505 kB

          Issue Links

            Activity

              People

              Assignee:
              calant@atlassian.com Corné Alant
              Reporter:
              jalor Janice Alor (Inactive)
              Votes:
              57 Vote for this issue
              Watchers:
              61 Start watching this issue

                Dates

                Created:
                Updated: