Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Wiki, "Unhide" a person

After choosing the "Hide person" option from the wiki, it is impossible to unhide that person using the tools from Apple. Is there a command line or a way to make a person profile visible again?

Lion server-OTHER, Mac OS X (10.7.1)

Posted on Sep 22, 2011 1:34 AM

Reply
9 replies

Feb 25, 2012 10:56 AM in response to optimisme

You could follow several steps to unhide a person, which is hidden by "hide a person..."

1. Go to the "People" page;

2. Create a new page by clicking the plus botton;

3. The new page that you've created must have exactly the same name of the hidden person's name;

4. Refresh and go back to your "People" page, the hidden person is back;

5. Now you could delete the page you've just created, and meanwhile you could hide yourself again by clicking "Config".

Apr 21, 2012 7:29 PM in response to Steven Bytnar

This does seem to work reliably: (replace myuser with the user you want to unhide.)


sudo psql -U _postgres collab << EOF

select * from entity where is_hidden=true;

update entity set is_hidden=false where short_name='myuser';

update entity set is_hidden=true where short_name='unauthenticated';

update entity set is_hidden=true where short_name='authenticated';

EOF


wikiadmin resetQuicklooks

wikiadmin fixPermissions

wikiadmin rebuildSearchIndex


-------


The select statement is there just in case you need to revert something, you have what the previous state was.

Apr 21, 2012 7:57 PM in response to toyarmybin

Hi,


I don't doubt that the method might work for some people. Just not for me.

I'm running 10.7.3 Lion Server.

This was a clean install from 10.7.2.

I did not migrate data from an older version of OS X Server.


I tried creating a new user with the same long name (not shortname/username) as the hidden user. All this did was create a new Document with that name in the administrator user's Documents area in the administrator user's People pages. It didn't unhide the user. I wound up digging into the database (since I'm a software engineer) and figured out how to unhide that way.


The next thing I want to figure out is how to delete all traces of a user, and/or how to reset the entire Wiki back to a clean install default configuration.

Apr 21, 2012 9:49 PM in response to Steven Bytnar

Hi, I see what you mean 🙂

And deal with my way in fact you created a new user though you unhide the hidden one at the same time, which I guess is the confliction between user configurations.

Or I guess it worked since I tried recovered my wiki after a re-installation.

Hoping you would figure out how to reset the wiki and I will try your way next time (though I hope not to use this function forever).


Thanks!

Apr 22, 2012 7:04 AM in response to toyarmybin

The "Hide person" feature is very disfunctional. Hidden users show up when you search for them. Hide only seems to apply to whether it shows up on the wiki/people/ page.


I haven't tried this yet, but this look promising for resetting the Wiki:

https://discussions.apple.com/thread/3730160?answerId=17775566022#17775566022


What is more disturbing is that spammers who access your wiki can find the short names of all users (and thus email addresses) who use the server. (By using the People page and by executing creative searches at the People page.)

Nov 5, 2013 3:30 PM in response to optimisme

When logged in as the wiki administrator, If you navigate to the persons page via the known URL (i.e. http://nameofyourserver.com/wiki/people/username-of-person) you can then click the gear icon, and "Unhide Person..." should be listed as an option.


The only caveat is knowing the person's username which should be viewable through directory services or Server.app.


Screenshot is from Wiki Server 3 as part of Mountain Lion Server.

User uploaded file

Wiki, "Unhide" a person

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.