How to hide the app for anonymous users

Eunji Roh
Contributor
October 17, 2024

Hi,

I'm developing an add-on for Confluence Cloud, and I would like to know the best way to hide the app for anonymous users who are not logged in. What is the recommended approach for this scenario?

I've already tried using the following option in the atlassian-connect.json file:


"conditions": [
        {
              "condition": "user_is_logged_in"
        }
]

However, this doesn't seem to be working. Could you provide any advice on how to achieve this?

2 answers

0 votes
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2024

Hello @Eunji Roh and welcome to the Community.

Are you talking about hiding the app from the Apps menu? Or is it a functional restriction?

If anonymous users have view only access, they can see most of the Confluence UI furniture but can't really use any of that. Those elements can only be 'removed' with a use of a theme app (Scroll Viewport, Refined, Spacecraft...)

There are apps (Scroll Viewport, for example) that come with a dedicated user-role/group which, if 'activated' allows only specific Confluence users to use that app. Perhaps a workaround in which you specify a role/group in your app and then users would apply a corresponding setting...

0 votes
Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2024

Hi @Eunji Roh ,

Confluence mobile app? Atlassian cloud mobile apps support an organizational mobile app policy to apply additional security settings to the apps.

https://support.atlassian.com/security-and-access-policies/docs/mobile-policy-mam-security-controls-and-supported-apps/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events