How to grant access for one space only
Asked by Feng Linjie:

We are using confluence server. with version V6.2.4

We do totally the same as:

<https://confluence.atlassian.com/confkb/how-to-grant-access-to-one-space-only-to-a-user-in-confluence-815244321.html>

We did add both created group and individual user to target space. after all we see the created local user have no permission to any space. The setting is not taking effort. but why...?


Answers:
author: Moses Thomas
body: [@Feng Linjie](/t5/user/viewprofilepage/user-id/1010273)

* Please very your global permission make sure that groups are able to use confluence see here <https://confluence.atlassian.com/conf63/global-permissions-overview-929729579.html>
* Check space restriction please see article here <https://confluence.atlassian.com/doc/page-restrictions-139414.html>

Best!

comments: author: Feng Linjie
body: Hi [@Moses Thomas](/t5/user/viewprofilepage/user-id/1138700)

Thanks for feedback, but we won't let this group have global permission. and it is not a restriction related issue.


author: Grigory Salnikov
body: Ah, you seem to mix up something. According to [this](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html)article
> This is the most basic permission that allows users to access the site.

In other words, without this permission, the user cannot use the Confluence at all.

And that seems to be the point here.


author: Grigory Salnikov
body: Small addition.

Granting a user "can use" global permission doesn't mean that you grant him any administrative rights.


author: Moses Thomas
body: [@Feng Linjie](/t5/user/viewprofilepage/user-id/1010273)If you don't give user or group access to be able to use confluence then he cannot even log in, talk less of seeing the space regardless you have giving this group permission in space to see the space and next is to check restriction. So you need to check global permission, group must have access to confluence( which will count to your license) .

After doing this you should be fine. Read documentation and understand how global permission works!

best!


author: Feng Linjie
body: Hello, [@Grigory Salnikov](/t5/user/viewprofilepage/user-id/1323725)[@Moses Thomas](/t5/user/viewprofilepage/user-id/1138700)

Thanks for answering

Maybe I'm wrong, but if I add group to "can use" the group is having access to whole wiki. which is not what we want...

![6.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/29234i1EF661FF1068918A/image-size/large?v=v2&px=999 "6.JPG")![5.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/29233i15E057A96B15E22B/image-size/large?v=v2&px=999 "5.JPG")


author: Feng Linjie
body: ![8.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/29235iE75D2254C93C4ED9/image-size/large?v=v2&px=999 "8.JPG")![7.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/29236i2490AD0FDFC3F1A9/image-size/large?v=v2&px=999 "7.JPG")


author: Grigory Salnikov
body: In some sense, yes, this permission grants access to wiki, but unless you specify the group on the space level permission, its members should have no access to the space.

I suggest you try and see what happens.


author: Moses Thomas
body: Strongly agree with Greg if you don't add group in the default space permission and you did not give access to individual spaces , they cannot see other spaces impossible.


author: Feng Linjie
body: Hello

Did you see my screenshot? I give "fordeleteme" "can use" permission on site level, give it read permission to one space, then I login to wiki, see actually the functional account able to see the whole wiki site. which is not correct.

Tell me if I didn't tell the fact correctly.

Many thanks!


author: Feng Linjie
body: Sorry, I think I found the root cause. I was not aware so many space owners set their spaces with "anonymous access". which puzzled me.

Now issue fixed, many thanks.


author: Moses Thomas
body: [@Feng Linjie](/t5/user/viewprofilepage/user-id/1010273)You are welcome, could you mark solution as resolve so other who fall in the same situation will use solution.

Best!


author: Feng Linjie
body: Excuse me, can you please give me some hint how to "resolve" this question...


author: Moses Thomas
body: [@Feng Linjie](/t5/user/viewprofilepage/user-id/1010273)You will see "accept solution button" at your question!


author: Nic Brough -Adaptavist-
body: You already have - there's a grey tick next to each answer which turns green when clicked to say "this is a useful answer".


author: Feng Linjie
body: great, thanks guys! I feel so satisfied with atlassian communication!


author: Grigory Salnikov
body: Hi!

Can you please, be more specific and provide more information:

1. How can you tell that the user doesn't have permission to any space?

(btw., have you checked "Space directory"?)

2. Can you show space permissions (e.g. as a screenshot)?

3. ... and group membership

Thank you in advance.

comments: author: Feng Linjie
body: Hi

We did the following:

1. create a new account

2. remove it from confluence-users group

3. create a new group and add the account inside the group

4. give both group and account read permission to one space

5. login with this user, find no permission

![4.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/29225i832E0AE7878B9C2A/image-size/large?v=v2&px=999 "4.JPG")![2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/29226i1E47AFFD749545E2/image-size/large?v=v2&px=999 "2.JPG")![1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/29227iC3D70B9955C70E05/image-size/large?v=v2&px=999 "1.JPG")


author: Grigory Salnikov
body: Then, as [@Moses Thomas](/t5/user/viewprofilepage/user-id/1138700) has suggested, make sure that this group also has "can use" global permission":

![canuse.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29228iF81D2D130E701083/image-size/large?v=v2&px=999 "canuse.jpg")


author: Feng Linjie
body: No, it should not be can use on global level, otherwise it will have permission to all spaces.


author: Grigory Salnikov
body: No, unless you add this group specifically in the space permissions.

![group permission.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/29229i431B1F17BD24F8E7/image-size/large?v=v2&px=999 "group permission.jpg")


Tags: confluence-server

server