-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 6.4.14, 7.2.1
-
Component/s: REST API
-
6.04
-
2
-
Severity 3 - Minor
Summary
User A who do not have permission to Browse Users but have Administrator and/or System Administrator will have REST API result return empty. As an example of the json data return:
[]
Steps to Reproduce
- Create User A
- Gives User A permission to Administrator and System Administrator
- Ensure User A do not have permission to Browse Users
- Login as User A
- Go to http://localhost:49748/jira721/rest/api/2/user/permission/search?permissions=PROJECT_ADMIN&projectKey=DEMO&username=
Expected Results
Error suggesting User A do not have permission to Browse Users
Actual Results
The response is:
[]
Known affected REST API
- /rest/api/2/user/permission/search
- /rest/api/2/user/search
- /rest/api/2/user/viewissue/search
Workaround
Add User A to Browse Users permission so that REST API return results