Please login or register to participate.
h0rr0r Dec 01, 2009 07:35 PM
How do I disable users from seeing other users of different space in People Directory?
Replies (10)
viraf Dec 01, 2009 08:22 PM
Users are to a site and NOT to a Space.
offray Dec 02, 2009 05:51 AM
But can you create private content for users or at least content that can not be edited by other users, only viewed? Can this happen with others kind of content ? for example comments?
offray Dec 02, 2009 05:52 AM
on a second thought seems that it can happen. Can you create Spaces for only a types of users? In that is the case, you can create a space with internal links to other contents and comment them from here. Is that possible?
romasha Dec 02, 2009 09:22 AM

To create content private for a set of users, you can add a Space (or sub-space) and enable sharing rights for that group of users or individual users. You have to first turn off Inheritance of rights in the sharing interface.

If you want these users to only view the content and not edit it, you can assign them the "Can View" role. This makes them Viewers of the Space. Content that you create is first "Private to Contributors" (i.e users with the 'Can Add' role) will have to be workflowed to the state "Publish to Viewers"

You can do this at the Space level as well as at the content level (i.e for wikis, blogs etc.). However, we recommend using the sharing only at the Space level as the management of each content becomes cumbersome after a while.

This cannot be done for comments. You can turn off comments for items that you wish to not have, by using the 'Additional Settings' for that item {See edit interface of that item}

Hope this helps.
offray Dec 02, 2009 11:43 AM
Hi Romasha,
Yes, this helps a lot :-). Thanks
h0rr0r Dec 04, 2009 04:33 PM
I didn't get my answer here. Example: I have a Space A which is only for User Group A to view only. And then I have Space B which is only for User Group B to view only.

When I login as user in User Group A, I can see the user from User Group B from the people directory. I do not want the users from User Group A or B to see each other.

How can I do that?
romasha Dec 07, 2009 10:36 AM
Hello Michael,

Currently disabling the People Directory from the interface or defining who gets to see whom, is not possible out-of-the-box. The People directory is designed to enable expertise discovery.

However, if this a blocker, we can customize the People Directory based on your requirements with the paid editions.
jbaack Dec 04, 2009 11:42 PM
I have thought about that very same thing and the idea I had was when displaying the people directory only show other users with access to at least one space in common with the viewer. This would obviously require customization and should perhaps be a site configuration option.

dhiraj Dec 14, 2009 11:12 PM
Another possible way this could work is to have a global setting for which all User Groups are allowed to see the People Directory at all, this could even be started off as an only-in-ZMI-portal_properties thing. Would still require some customization of the People directory template and the main_template, but this would then become a minor user-is-in-group permission check, which would be simpler.

The current problem area I see with just blocking off People Directory is of course Status Messages - these are visible to everyone, and when UserA puts in a new status message, it will be visible to everyone, including UserB, and thus UserB will be able to infer that UserA at least "exists" on the site, and read their status messages, even if they are not able to see content by UserA that is hidden away in Spaces that UserB cannot access, so this area is definitely tricky.

Another potential problem area down this road is that UserB will be able to find UserA in the Sharing Tab as well, if they query by partial username.
h0rr0r Dec 19, 2009 12:45 PM
So how could we protect the privacy of User A or B from different user group? Ofcourse, when we decide to give them rights in different Space so that they do not see each other.