Filter permissions question

Is there an reason why only the owner of the filter can edit the filter?


From a security standpoint it adds an additional 3 steps per filter to edit in the event that an user accidentally share a filter with the Global ("Everyone") setting.  An admin cannot just edit the filter to change it to a compliant share setting, without changing the owner, then find the dashboard, edit the permission, then change the owner back to the original owner.  Filters are prone to being accidentally shared externally because the first share option is "Everyone" which is the Global setting.  We are able to setup monitoring via unauthenticated queries against the vulnerable manage filter endpoint


Using the API as a proof of concept on a filter that I own it's possible to do a 

GET /rest/api/2/filter/{id}/permission

If JSON.parse(response.body)[0]['type'] == 'Global'

DELETE /rest/api/2/filter/{id}/permission/JSON.parse(respones.body)[0]['id']

POST /rest/api/2/filter/{id}/permission request.body={type: 'group', groupname: 'jira-administrators'}.to_json



However when the owner of the filter is not an admin this does not work.  I'm trying to get over 100 filters corrected on a weekly basis since the users do not understand that sharing the filter with everyone results in the filters being exposed to the world.  


1 answer

Are you concerned that users will get access to data they should not see if filters are shared accidently?

If so, then maybe you should look are your permission schemes. The filters will respect these and even if the filter is available to someone they will need to have the correct permissions to allow them to view the data.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

379 views 6 0
Join discussion

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