Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-60864

Html Macros should respect authenticated user based on allowlist API

      Gadgets have moved to use whitelist.isAllowed(URI, Userkey) to give more controls to admins to whether allow anonymous users or not.

      More details on the whitelist API changes can be found here:
      https://asecurityteam.atlassian.net/browse/VULN-217900

      We had to enable the old behaviour of whitelist.isAllowed(URI) temporarily as part of:
      BSP-2173 Update isAllowed method to use old behaviour
      Failing tests with new API:

        Failed HtmlIncludeFuncTest testWhitelistAllowUsingExactMatch History
       
      Failing since build #1 (First build for this plan) 8 secs  
        Failed HtmlIncludeFuncTest testWhitelistAllowUsingRegex History
       
      Failing since build #1 (First build for this plan) 8 secs  
        Failed HtmlIncludeFuncTest testWhitelistAllowUsingWildcard History
       
      Failing since build #1 (First build for this plan) 8 secs  
        Failed RssMacroWhitelistTestCase testWhitelistAllowUsingExactMatch History
       
      Failing since build #1 (First build for this plan) 9 secs  
        Failed RssMacroWhitelistTestCase testWhitelistAllowUsingRegex History
       
      Failing since build #1 (First build for this plan) 9 secs  
        Failed RssMacroWhitelistTestCase testWhitelistAllowUsingWildcard

      Logs attached!

       

            [CONFSERVER-60864] Html Macros should respect authenticated user based on allowlist API

            A fix for this issue is available to Server and Data Center customers in Confluence 7.12.1
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Jiri Hronik added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.12.1 Upgrade now or check out the Release Notes to see what other issues are resolved.

            Currently awaiting merge on 7.12, already added into 7.14.0 snapshot.

            Richard Lau added a comment - Currently awaiting merge on 7.12, already added into 7.14.0 snapshot.

            When I try to reach VULN-253132 it redirects me to VULN-217900.

            Adilson Carvalho (Inactive) added a comment - When I try to reach VULN-253132 it redirects me to  VULN-217900 .

            This is the related VULN ticket: VULN-253132

            Adilson Carvalho (Inactive) added a comment - - edited This is the related VULN ticket:  VULN-253132

              rlau@atlassian.com Richard Lau
              ggautam Ganesh Gautam
              Affected customers:
              0 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: