Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-59935

Allow User Macro to obtain user's information after Confluence 7.0

    XMLWordPrintable

    Details

    • UIS:
      0
    • Feedback Policy:
      We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      Problem Definition

      Since Confluence 7.0.1, there is a change in <Confluence_Installation>/confluence/WEB-INF/classes/velocity.properties that includes a Secure Introspector to disable certain classes' accessibility.

      This affected some of the User Macros created by the customers that is making use of the restricted class.
      Here are some examples of the user macro being affected by this change, mostly related to getting user's information:

      Suggested Solution

      There is no alternative way to obtain user information after the change has been implemented. As this change is based on a security measure, it is not recommended to make any custom changes to the velocity.properties.

      Suggesting to have an alternative way to obtain the user information so that the customers can continue to have custom User Macro that is able to pull user's information

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              btan@atlassian.com Damien Tan
              Votes:
              36 Vote for this issue
              Watchers:
              24 Start watching this issue

                Dates

                Created:
                Updated: