How can I get the Browse->Space Directory output to include the Space Administrator?

I'd like my Space Directory listing to include the same information as your documentation site does. See .

To access this view on your documentation site, click Browse->Space Directory.

We're currently running Confluence 4.04.


2 answers

1 accepted

3 votes
Answer accepted

You need to change the Space Directory bundled plugin in order to do that. Go to <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup and open "" file. Locate "confluence-space-directory-4.x.jar" and open it using an archiving utility. In templates folder, there are two files that you need to edit.


This template displays what is shown in the Space Directory. Locate the code below at line 55:

&lt;span class="column-heading desc-heading"&gt;$i18n.getText("")&lt;/span&gt;

and add the following code below it:

&lt;span class="column-heading admins-heading"&gt;Space Administrators&lt;/span&gt;


Locate the code below at line 11-13:

&lt;div class="entity-attribute space-desc"&gt;

and add the following code below it:

&lt;div class="entity-attribute space-admin"&gt;
		#set ($permissions = $space.getPermissions())
		#foreach ($permission in $permissions)
			#if ($permission.getType() == "SETSPACEPERMISSIONS" &amp;&amp; $permission.getUserName())
			&lt;a href="/display/~$permission.getUserName()" class="url fn confluence-userlink userlink-0" data-username="$permission.getUserName()" title="" data-user-hover-bound="true"&gt;$userAccessor.getUserIfAvailable($permission.getUserName()).getFullName()&lt;/a&gt;

You'll find the links below useful:

Thank you for the info! Very helpful!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

604 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you