This documentation relates to the latest version of Confluence.
If you are using an earlier version, please go to the documentation home page and select the relevant version.

Hiding the People Directory

All Versions
Click for all versions
Confluence 2.9 Documentation

Index

The People Directory provides a list of all users in your Confluence system. 

If you need to disable the People Directory set the following system properties on your application server command line:

 -Dconfluence.disable.peopledirectory.anonymous=true
  • To disable the People Directory entirely,
-Dconfluence.disable.peopledirectory.all=true

These two properties are available in Confluence 2.5.2 and later.

Note that the 'People Directory' link will still appear on the dashboard, so you will need to modify the following file to remove the link: /decorators/global.vmd (In Confluence Standalone, this is located in the confluence directory)

Labels:

settings settings Delete
security security Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Jul 30, 2007

    François Nonnenmacher says:

    Can this be done for a specific group (not anonymous users)?

    Can this be done for a specific group (not anonymous users)?

    1. Jul 30, 2007

      Guy Fraser says:

      Not currently, but if

      Not currently, but if http://jira.atlassian.com/browse/CONF-8539 was implemented it would be easier for plugin developers to provide more flexible versions of the People Directory.

  2. Oct 01, 2007

    Mark says:

    I'm running this on windows, where do these commands go exactly?

    I'm running this on windows, where do these commands go exactly?

    1. Oct 02, 2007

      Tony Cheah Tong Nyee says:

      Hi Mark, If you are running a Confluence standalone edition, this can be done b...

      Hi Mark,

      If you are running a Confluence standalone edition, this can be done by editing the setenv.bat file which is available in the ${catalina.home}/bin directory.
      You may be interested to look at the documentation as outlined here as a reference on how to add the additional parameter to the setenv.bat file.

      Hope the information helps.

      Cheers,
      Tony

      1. Feb 11, 2008

        Carl Thoreson says:

        OK, so I added the line to my Setenv.bat file so that the command line now looks...

        OK, so I added the line to my Setenv.bat file so that the command line now looks like this:

        set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx1024m -Dconfluence.disable.peopledirectory.anonymous=true
        (Line has wrapped.  The above is all one line.)

        However, the people directory is still alive and well for anonymous.

        I also removed any links I could find related to people directory in the decorators/global.vmd file but the people directory is still available on the dashboard.

        Can anybody tell me what I am doing wrong?

        Thanks,

        Carl

        1. Feb 12, 2008

          Choy Li Tham says:

          Hi Carl, Could you please raise a support request in the following Issue tracke...

          Hi Carl,

          Could you please raise a support request in the following Issue tracker so that we can further investigate the problem from there:

          Regards,
          Choy Li

  3. Dec 19, 2007

    Ulrich Trampe says:

    This setting does not hide nor disable the People Directory! It simply prevents...

    This setting does not hide nor disable the People Directory!

    It simply prevents anonymous users from browsing the directory. But they can still access all the user profiles, if they somehow find or guess the link to them.

    The dashboard itself lists links to recently updated user profiles, another option is using Google.

    1. Jan 11, 2008

      Steffen Stundzig says:

      hi ulrich, do you have a solution for hiding the recently updated links for the...

      hi ulrich,

      do you have a solution for hiding the recently updated links for the user profiles?

      regards

      1. Mar 22

        Ulrich Trampe says:

        I don't think this is possible. What you can do is create a Custom Dashboard

        I don't think this is possible.

        What you can do is create a Custom Dashboard. On this dashboard, you can exclude the user profiles from the recently updates list. So you will not see them by default.

        The weird thing is, when you "hide" the peoples directory as described here, and then try to access the peoples directory, it will link you directly to the original dashboard and show up all the recently updated user profiles.

        In addition, you can prevent search engine indexing on your site.

        Ulrich

  4. Mar 11

    Peter Lunn says:

    Forgive me as someone relatively new to Confluence, but this seems a very clunky...

    Forgive me as someone relatively new to Confluence, but this seems a very clunky of disabling a feature that shouldn't be enabled (to anonymous users) anyway. The default should have the People Directory hidden - surely?

    At the very least I would have anticipated being able to set permissions on this area via the UI not have to do it via a command line. Please can this be included as a change request? 

    1. Mar 17

      Ming Giet Chong says:

      Hi Peter, {{People Directory}} provides a list of all users in your Confluence ...

      Hi Peter,

      People Directory provides a list of all users in your Confluence system. Disabling the People Directory can avoid anonymous user accesses through the company's people directory. Additionally, it can be totally disabled to avoid any users access it. Therefore, user can have the options to hide/disable it.

      At the very least I would have anticipated being able to set permissions on this area via the UI not have to do it via a command line. Please can this be included as a change request?

      I would suggest you to raise an improvement request at our issue tracker. Thanks.

      Regards,
      MG

  5. Mar 11

    Tom Moore says:

    In Confluence 2.7.2, editing the global.vmd file in standalone confluence (//con...

    In Confluence 2.7.2, editing the global.vmd file in standalone confluence (//confluence/decorators/) does not remove the link to the people directory from the front page.  I have even deleted the entire stanza instead of just commenting it out and it's still there.  Any idea where confluence is still picking this up?  I've stopped and restarted multiple times.

    1. Mar 17

      Ming Giet Chong says:

      Hi Tom, I would suggest you to raise a support ticket at our issue tracker for ...

      Hi Tom,

      I would suggest you to raise a support ticket at our issue tracker for further investigation to this issue:

      Regards,
      MG

    2. Apr 01

      hermanns says:

      Hi Tom, I ran into this once. My problem was that I had defined a customized La...

      Hi Tom,

      I ran into this once. My problem was that I had defined a customized Layout under:

      Dashboard > Administration > Look and Feel > Edit Site Layouts: Global Layout

      BR,
      Klaas.

      1. Apr 01

        Tony Cheah Tong Nyee says:

        Hi guys, To my understanding, modification made to the Global Layout via the Ad...

        Hi guys,

        To my understanding, modification made to the Global Layout via the Administration console as well as the global.vmd file available in /decorators directory would take effect if the Confluence instance is configured to use the "Default Theme". If other themes is used instead, you would have to modify the global layout files that relates to the specific theme.
        If the "Default Theme" is used and the modification does not take effect, feel free to raise a support request to reflect the problem that you are seeing.

        Cheers,
        Tony

  6. Mar 26

    David Perez says:

    We are running Confluence 2.7. The people directory was showing without any issu...

    We are running Confluence 2.7. The people directory was showing without any issues. We have not identified any changes in the configuration but now the people directory is not showing anymore. To be precise, only two users are now showing and the rest are hidden. Any hints how to go back to the previous configuration? We just want all users to appear in the People Directory.... Thanks.

    1. Mar 27

      Choy Li Tham says:

      Hi David, Please create a support ticket at the following issue tracker and we ...

      Hi David,

      Please create a support ticket at the following issue tracker and we will verify the problem from there:

      Regards,
      Choy Li

  7. May 05

    Anonymous says:

    The profiles still show in the "Recently Updated" list in the dashboard whenever...

    The profiles still show in the "Recently Updated" list in the dashboard whenever they are modified/created. To hide them, you need to change the following line in decorators/global.vmd:

                             $helper.renderConfluenceMacro("

     
    Recently Updated
     
    Anonymous
    about 4 hours ago
    Re: Start Confluence automatically on Windows as a Service
    I get "The CATALINAHOME environmental variable is not defined correctly" even though I have defined it to point to my co...
    Re: Confluence to PDF
    Hi \!\!\\ I created an homepage including the recently updated macro but when I try to export as pdf I have system error...
     
    about 14 hours ago
    General Apache configuration notes
     
    yesterday at 23:00:48
    Re: UPT 3.2 - Using Inline Decorators
    Hi Thomas, The {{edituserinfo.vm}} is one of the velocity file in User Information plugin
    yesterday at 22:51:16
    Children Display Macro
    Fixed default sort order
    Installing Patched Class Files
    Fixed internal link
     
    yesterday at 21:56:33
    Re: Confluence Search Syntax
    Hi Hamish, This feature is not supported in Confluence currently. However, there is a similar feature request being rai...
     
    yesterday at 02:37:27
    Applying A Theme To A Space
    yesterday at 01:43:01
    Re: Rich Text Editor Overview
    Hi Nana, I am afraid that the markup, for instance, "\ \ \ " will not be helpful in this case. However, there is an ong...
    Re: Searching the People Directory
    Hi there, I would suggest you to lodge an improvement request at
    ")

    and add some filter that takes them out. I've found "space=*" to work for that.

    Of course if you're using any theme other than the default, you'll need to do that change inside the corresponding .jar file, which is painful but doable.

    Salut,

    Jordi. 

  8. Aug 12

    Andrew Frayling says:

    Tip for removing the People Directory from the Confluence Classic theme: You nee...

    Tip for removing the People Directory from the Confluence Classic theme:

    You need to extract <Confluence Home>bundled-plugins/confluence-classic-theme-2.0.jar, edit the global.vmd in that file, repackaged and redploy.

    You also need to delete/move atlassian-bundled-plugins.zip in <Confluence install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup as otherwise Confluence will re-deploy the original version at every startup and overwrite the changes you made to confluence-classic-theme-2.0.jar.

    Thanks to Atlassian support for the help.

Add Comment