Can't add user to restricted page
Asked by webenginenl:

I want to add user Sebas Wijnen to a restricted page. This page may only been seen by him or me. I'm the sys admin. It contains the passwords for our production server.

The users aren't loaded for the selection, but the user is known within Confluence. We also user Jira and BitBucket. Jira manages the user roles.

Why aren't the users displayed? Jira and Confluence use OAuth and are connected.

![Screen Shot 2017-08-22 at 14.34.17.png](/t5/image/serverpage/image-id/5030i85B0606C48DAEF2E/image-size/large?v=v2&px=999 "Screen Shot 2017-08-22 at 14.34.17.png")![Screen Shot 2017-08-22 at 14.35.41.png](/t5/image/serverpage/image-id/5031iA7BF931B9F27F2A0/image-size/large?v=v2&px=999 "Screen Shot 2017-08-22 at 14.35.41.png")


Answers:
author: Rilwan Ahmed
body: <https://confluence.atlassian.com/confkb/unable-to-add-users-into-space-permission-page-838278894.html>


author: Dale Moore
body: Wow, over a year later, and this issue is still happening. We are using Jira version 8.7.1 and Confluence Version7.3.2 and we have exactly the same issue. Trying to add specific users to restricted spaces, they just don't appear in the search drop down:  

![Confluence Broke.png](https://community.atlassian.com/t5/image/serverpage/image-id/115996i7C7783777916936E/image-size/large?v=v2&px=999 "Confluence Broke.png")

Yet the user exists under Confluence User Management, and has logged items in Jira:

<br />

![Confluence Broke_02.png](https://community.atlassian.com/t5/image/serverpage/image-id/115997i0C43E61267135BA7/image-size/large?v=v2&px=999 "Confluence Broke_02.png")  

Anyone got an answer to this yet - I tried the add / remove groups trick someone mentioned but it didn't seem to let me add a group, I could only remove and re-add.


author: Michael Daoust
body: This apparently still happens on occasion. I figured out how to fix it. This is a classic windows trick - re-saving the properties.

Go to user management - edit the users groups, add the user to an arbitrary group and press save then remove user from arbitrary group and save. (you may be able to simply edit groups and press save to fix)

You should be good to go now.

comments: author: FARRERO Pauline
body: Hello,

This trick worked for me too! Thanks


author: Jayvia Farthing
body: I submitted a ticket to my urban development helpdesk and was told that the reason I wasn't able to add my user was because he wasn't added to the confluence users group in crowd directory. The helpdesk admin had to add the user. Once the user was added to crowd, I was able to add the user to restricted pages.


author: Office IT
body: Hi Team,

We need to add user to a restricted page, but the users are not loading in, when am trying to add them. We have recently upgraded confluence to 7.0.1 from 6.2.4

jira version -8.4.1

![Screenshot 2019-09-30 at 15.04.08.png](https://community.atlassian.com/t5/image/serverpage/image-id/67777iD01712303AF34CBF/image-size/large?v=v2&px=999 "Screenshot 2019-09-30 at 15.04.08.png")

Could you please us fix this issue.


author: Thomas Schlegel
body: Hi Chris,

maybe Sebas has no viewing permission on the space itself?

comments: author: webenginenl
body: Hi Thomas,

Thanks for your quick response.

There are no restrictions on the space itself. This is btw the only page with restrictions.

I doesn't show any other users.

I use Confluence 6.3.3, and Jira 7.4.2. So both the latest versions.

Chris


author: Thomas Schlegel
body: have you you tried searching for "swi" (the username).


author: Thomas Schlegel
body: if your space is public, maybe Sebas doesn't have the role "confluence-users" ?


author: webenginenl
body: I've tried "swi", same result, no users.

And just double checked, he is in the group "confluence-users"


author: Thomas Schlegel
body: are you able to load any other user? Do you see an error in the logfiles?

are you able to add him to the permission scheme of your space?


author: webenginenl
body: I did manage to load some other users, but not all.

The permission schemes I use is the default one. The default that's shipped with the installer.

No error in the logfiles.

This is the API call:

/rest/prototype/1/search/user-or-group.json?max-results=6\&query=swi\&_=1503410894710

Response (HTTP 200 response):

{"totalSize":0,"result":\[\],"group":\[\]}


author: Thomas Schlegel
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) [@Stephen Deutsch](/t5/user/viewprofilepage/user-id/781490) [@Shannon S](/t5/user/viewprofilepage/user-id/510046) or anyone else:

Do you have any other idea what is going wrong here?


author: webenginenl
body: Screenshot of the Global Permissions and the Application for the complete picture.

![Screen Shot 2017-08-22 at 16.29.11.png](https://community.atlassian.com/t5/image/serverpage/image-id/5034i05207AF6FA4DC04C/image-size/large?v=v2&px=999 "Screen Shot 2017-08-22 at 16.29.11.png")![Screen Shot 2017-08-22 at 16.29.30.png](https://community.atlassian.com/t5/image/serverpage/image-id/5033iF2B78AA5277836BE/image-size/large?v=v2&px=999 "Screen Shot 2017-08-22 at 16.29.30.png")


author: Thomas Schlegel
body: could you please also post a screenshot of the permissions on the space?


author: webenginenl
body: Sure.

![Screen Shot 2017-08-22 at 16.41.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/5037i54BA70DC428455E7/image-size/large?v=v2&px=999 "Screen Shot 2017-08-22 at 16.41.01.png")![Screen Shot 2017-08-22 at 16.41.20.png](https://community.atlassian.com/t5/image/serverpage/image-id/5036iC6C61C503795B523/image-size/large?v=v2&px=999 "Screen Shot 2017-08-22 at 16.41.20.png")


author: miriam-hopton
body: This is happening to me too - I am unable to add permission to a specific user, I receive an error "**There was an error submitting the page restrictions. Please try again later."**Please fix!


author: Bartek Zukowski
body: Hi,

has anyone found a solution to this problem?


author: webenginenl
body: Hi Bartek,

In my case is was solved in one of the updates. We're currently running 6.9.0 in which it works.

Maybe upgrading also works for you?

Chris