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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

280 views 11 10
Join discussion

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