Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,677
Community Members
 
Community Events
168
Community Groups

Page Settings Limit People Some people cannot be matched in the search

Edited
kang I'm New Here Sep 13, 2022

User management can search for this person, other people can search fo图片1.png图片3.jpg

2 answers

0 votes

Hi @kang ,

welcome to the Atlassian community!

Sometimes it happened also for me. If the users come from AD, you can try to setup again the AD integration on the User Directory side and disable the current one.

Hope this helps,

Fabio

0 votes

The first requirement is that the person has view access to the Space, if that checks out, then just enter the username and press "Add" - it should add it, regardless of the suggestions.

Suggestions are unreliable in Confluence and the same question is asked quite often, best I can say is that a full re-index should push the indexes and the suggestions should start returning the user then.

Mhm I just realized that "Add" won't work without suggestions in page restrictions. So that would require DOM manipulation or http form post replication.

 

I've demoed this locally just to pass the time, but I don't recommend doing this since since it's kinda fiddly - the optimal approach would be to run a full Confluence re-index and then verifying if the user comes up in suggestions.

 

/rest/api/user?username=<username I want to add>

-- first getting the "userKey" value for the user

Then sending a POST like so:

curl 'https://<confluencebaseurl>/pages/setcontentpermissions.action' \
-u <myuser>:<mypassword> \
-H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' \
-H 'X-Atlassian-Token: no-check' \
--data 'editPermissionsUserList=<userkey I want to add to edit permission>&contentId=<pageId I want to modify>'

 

This appears to append the user to the list.

For all intents and purposes, it's just a demo I tried if I could bypass suggestions locally, I still think you should do a re-index to confirm if it gets resolved.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Watch 4 Confluence apps compete for Best App Demo in September's Appy Hours

Calling all collaborators! Appy Hours on the Atlassian Community is a monthly event where 4 Partner and app vendor presenters go head-to-head with 5-minute demos for the title of Best App Demo. I...

596 views 0 13
Read article

Atlassian Community Events