Hidding page options for unlicensed users
Asked by Iana:

Hi,

We have a Confluence instance that we use as a Knowledge base for our Jira Service Management customers (who are unlicensed authenticated Confluence users).

When an authenticated user visits the knowledge base, he has a lot of options on the page "..." button (see SS attached). For example, I don't want my clients to be able to access all historic versions of a given article.

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

Is there a way to make these options completely disappear for unlicensed users or, ideally, just have Export PDF / Export Word as options ?

Here's what my article looks like for an unlicensed user today (notice the options that the red arrow is pointing towards:

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

Here's what I would like the article to look like (no options) :

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


Answers:
author: WW
body: If you have ScriptRunner, you *might* be able to hide the whole ... menu or its individual parts.

Checkout the [Hide UI Element Built-In Script documentation](https://docs.adaptavist.com/sr4c/latest/features/script-fragments/hide-ui-element-built-in-script) for more.

I say *might*because I'm not sure how you'd identify that the page is being used as a KB article vs. being viewed as a page. There's probably a way, though, maybe by checking for Anonymous permissions being used.

If you don't have ScriptRunner and don't want to write something from scratch, then, yeah, not much you can do.

comments: author: Iana
body: Hi [@WW](/t5/user/viewprofilepage/user-id/1209024) ,

Thanks for your reply.  
We do not currently have ScriptRunner, but I'll save your suggestion in case we ever get that plug-in.


author: Pramodh M
body: Hi [@Iana](/t5/user/viewprofilepage/user-id/4087588)

If your Space is connected to the knowledge base, there is no way that space permission or page restriction will work

Export options cannot be disabled as of now, but there is a feature request on the same

<https://jira.atlassian.com/browse/CONFCLOUD-57587>

If your Space permission has anonymous access, the page access is defined via page restrictions

Thanks,  
Pramodh

comments: author: Iana
body: Hi Pramodh,

Thanks for your reply. My question is not regarding access to pages for unlicensed users. I already have that set up (as a Knowledge base for my service desk project).

My question, is there any way to hide all the options of an article for unlicensed users or anonymous users?

Here's what my article looks like today for an unlicensed user (notice the options button that the red arrow is pointing to (1st SS attached).

That button gives a lot of options (2rd SS attached). Is there a way to hide those options (from everyone or just from unlicensed users) so that when unlicensed users visit my page/article, there won't be any options (see last SS) ![KB2.png](https://community.atlassian.com/t5/image/serverpage/image-id/182536i0AFE157C2E8AFCEE/image-size/large?v=v2&px=999 "KB2.png")

![KB3.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/182537i582C047BBFE63190/image-dimensions/195x364?v=v2 "KB3.PNG")

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


author: Pramodh M
body: Hi [@Iana](/t5/user/viewprofilepage/user-id/4087588)

I have already answered it

Export options cannot be disabled as of now, but there is a feature request on the same

<https://jira.atlassian.com/browse/CONFCLOUD-57587>


Tags: confluence-server

server