How to configure this special security case?

Hi guys,

we try to configure confluence which special persmissions.

simple Case details:

  • 1 space
  • 3 headlines in navigation bar
  • and a lot of articles below

Very simple so far wink

Now we wanna set some security permissions:

  • anoymous user1 access with permission "read" to headline 1
  • anoymous user2 access with permission "read" to headline 2,3
  • group access with permission "read" to whole space
  • group access with permission "read / edit" to whole space

Our problem is point 2 in dependence to 1.

We don't use LDAP authentication.

Any ideas?

Thanks a lot!

 

5 answers

This widget could not be displayed.

What is this that differentiates user1 and user2 as both are anonymous?

This widget could not be displayed.

both should be anonymous (no view to other profiles, no option to set sites as favorite, ...), but anonymous should see headline1 and the other should see headline 2,3

 

This widget could not be displayed.

You can't do that, not unless you provide some kind of distinguishment between anonymous1 and anonymous2. e.g. anonymous1 comes from XXX page and anonymous2 comes from YYY page, assuming that web-browser settings are intact

This widget could not be displayed.

Panos is absolutely right.  You have no way of knowing that anonymous1 is not anonymous2 - the whole point of anonymous access is that they do not log in.  Without a log in, you can't know who a visitor is, so you simply don't have any data to decide on different behaviours.

There are things you can do with proxy servers or networking that could add more information to a session so that you could make access decisions based on it, but Confluence works with users only, so you'd have to start coding to allow it to make different decisions as well.

This widget could not be displayed.

But it is possible the create a, for example, readonlygroup and put a user in. This group should see headline 2,3 but, and thats the problem, it should NOT see the "Profiles", "Persons", "Favorite", -Buttons on top of the page.

->

    confluence-user (view complete space1)

    confluence-admin (view / edit complete space1)

    confluence-readonly (view navigation with headlines 1,2,3)

    anonymous (view navigation with headline 1)

 

?

Confluence-readonly implies that user has logged in, you asked both anonymous

sure... and you told, it is not possible without any programming... So maybe this is a second option?

 

Yes, that's not "anonymous" any more - you know it's someone to whom you have given an account (even if it's shared, so you don't know which human it is, it's still not anonymous)

Now you know who they are, you can apply the permissions like they're any other user.  But, you still can't do anonymous1 and anonymous2 because you have only set up one user. 

And because they are now a logged in user, they get to see profiles, persons, favourite and so-on.

Yes, it would be possible with creating some servlet filter for the specific URL or inject javascript. But then you need to decide what criteria should anonymous user A should fulfill in order to see header and what different criteria should anonymous user B should fulfill in order to see partial header. 

I believe you should re-think your approach with anonymous and keep it "one", but thats just me smile

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

134 views 12 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you