Confluence - Disable keyboard shortcuts for anonymous users

Hello People

Does anyone have knowledge of how to disable keyboard short cuts for anonymous users only?

I have a space that is open for public access (anonymous users can view) and I would like to disable keyboard short cuts either for this space - or for anonymous users in general.

In the public space a lot of standard page features are hidden via css, so I would like to make sure features are not available via keyboard short cuts. Stuff like comment field or pressing "t" to watch files attached to a page, just to mention a few.

Pleased to hear any feedback :-)


1 answer

0 votes

Disabling functions by hiding them is not the right way to approach this, as a user can always waltz around them.  You should be using permissions to control what people can do.

There's no function for changing the behaviour of keyboard shortcuts, on a user by user basis.

Hi Nic

Thanks for the feedback. I agree with you that hidding a function will not disable the function.

However, for anonymous access the only permission granted is "Can use Confluence" (global permission) and "View" the particular space in question. Removing any of these will lock out anonymous users, which is not what I am looking for.

I was hoping for a way to disable keyboard shortcuts for "anonymous access" to Confluence - not on user basis. Anonymous access requires no user profile..  

Well - most likely it cannot be done.

Would be nice though... :-)

I don't think this is a useful thing to do.  Why would you want to remove the shortcuts?  As you've got "anonymous" as read-only, it's not like the users could do any harm with them.

Sure - no harm can be done, I guess.

It is a matter of creating a uniform experience for anonymous users.

Suppose an anonymous user presses "t" for some reason: he/she will be redirected to see the attachments of the page in question. This will also display the sidebar which I like to keep hidden (for anonymous users I prefer to place navigation links on pages as needed). + the tools menu will be displayed.

Pressing "k" or "l" will open the Link dialog..

Disabling the short cuts on either space level or for anonymous access would block these options - and the person viewing the page will not be prompted with unnecessary functions.

People who have used Confluence before may expect those functions and want to use them.  I think your requirement is broken really.  There's no benefits to doing what you suggest.

Okay - no problem Nic.

Thanks for the feedback.

Suggest an answer

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

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

237 views 2 10
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