Hi Everyone,
I have a user account access in jira product let’s take it as a domain name. So, In ideal case I should not have access to add addon or not even a manage apps section of jira.
But, If I hit the url https://domain_name/plugins/servlet/ac/PRODUCT_KEY/CONFIG_KEY directly I am getting the configuration page.
In ideal case it should not be showing .
And they have used this condition in webitem section of atlassian-connect.json file for above config page.
1st code change:
{
"condition":"user_is_logged_in",
"invert":false
},
{
"condition": "user_is_admin",
"invert": false
}
2nd code change:
"conditions":[
{
"and": [
{
"condition": "user_is_logged_in",
"invert": false
},
{
"condition": "user_is_admin",
"invert": false
}
]
}
]
both are not working.
Can anyone suggest any other way that only allows admin user to see the configure page.
Thanks In advance.
Akshay.