How to set a user not allowed to view other user information?

PPGod March 17, 2021

I need to set a user to only view a specified space, without other redundant permissions, and can't let him know how many people there are in the company and their personal information.

Can this be done without using anonymous users?

xxx.png

The content in the red box is not allowed to be seen by this user. How do I set it up?

2 answers

2 accepted

0 votes
Answer accepted
Vitor LC
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 18, 2021

Hi @PPGod ,

As far as I know you don't have any effective solution to handle all that. I reckon he may be an external user to the company if he cannot have access to the people's directory.

If this is the case I would suggest:

  • Add the user directly to the permissions of the space by accessing Space ToolsPermissionsIndividual Users section - Edit Permissions > add the username and set the permissions you wish him to have over the space
  • If you have pages in the space you don't wish him to see set also the restrictions
  • To hide the entire People Directory to specific users or groups I'm afraid it's only possible to do it for anonymous users or entirely for everyone...
  • ... but you can at least hide the link in the top bar. Follow the instructions of Atlassian: How to hide the People Directory from a Confluence group | Confluence | Atlassian Documentation. These instructions show how to hide the link from groups, which is useful in case you have more people in the same circumstances (e.g. group "externals"). If this is a one case you can replace the #if there by:
    #if ($helper.action.remoteUser.name == "<username>")

Hope it helps.

Vitor

PPGod March 18, 2021

Qxx.png

I can't find where to set itI can't find where to set it.

Is the code added to Custom HTML directly?

0 votes
Answer accepted
KAGITHALA BABU ANVESH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 18, 2021
PPGod March 18, 2021

How to set the sidebar to be visible to some users, and some users are not visible?

Nicolas Casel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2021

@PPGod  ,

To do this:

1) add these users into a new "sidebar-authorized-users" group

2) in "Space tools / Look and feel / Sidebar", enter this piece of code:

{show-if:match=any|group=sidebar-authorized-users}
{html}
<style>
.ia-fixed-sidebar{display:none;}
</style>
{html}
{show-if}

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events