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

velocity permissionHelper doesn't recognize space admin permission

    XMLWordPrintable

    Details

      Description

      I am trying to set the Browse button on one specific page only viewable for people with space admin permissions in my Main Layout. I've tried all of the following but these will only show the button for a Confluence administrator, not a space admin.

      #if ($permissionHelper.canAdminister($action.remoteUser, $space))
      #if ($permissionHelper.canEdit($action.remoteUser, $space))
      #if ($permissionHelper.canCreatePage($action.remoteUser, $space))

      I've tried other objects as the UserAccessor but they all return the same, it simply won't see the people with admin rights in my space.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rvthof Robert van 't Hof
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: