Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

condition 'user_is_admin' is not working in WebItems section

Akshay Mehta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 25, 2023

Hi Everyone,

I have a user account access in the product which I have tagged. 
Still If I hit  the url https://TAGGED_SERVER/plugins/servlet/ac/PRODUCT_KEY/CONFIG_KEY directly I am getting the configuration page.
In ideal case it should not be showing .

As they have used this condition in webitem section of atlassian-connect.json file for above config page.
{
"condition":"user_is_logged_in",
"invert":false
},
{
"condition": "user_is_admin",
"invert": false
}


I don't want to allow anyone other than admin to see this configure page which is configured in WebItem section.

 
Can anyone suggest any other way that only allows admin user to see the configure page.

Thanks In advance.
Akshay.

0 answers

Suggest an answer

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

Atlassian Community Events