-
Bug
-
Resolution: Duplicate
-
Medium
-
1
-
Severity 3 - Minor
-
Summary
Granting Current Assignee to the Administer Project permissions will allow users to see ALL Projects that are assigned to that Permission Scheme. You can see the projects even if the user does not have any assigned issues in the project or even if the user is not listed as site-admin. This is a security issue since it will allow users access to view Project Setting as well as Edit some Project fields
Environment
- JIRA Cloud: 1000.1162.0
Steps to Reproduce
Isolate test user to only have JIRA application access on instance and no other Project Permissions:
- Create sample user. (You can use any user that does not have any issue created or assigned)
- Creating new group: test-group
- Add group to user
- Removing all other groups from user so that the only group is test-group
- Add JIRA Application Access to group-test: https://<example>.atlassian.net/admin/accessconfig (just can sign in, no admin permission)
- Login in as user
- Cog Wheel is NOT be present in top right for JIRA Administration> This is good news and is intended
- User Browse Project page: https://<example>.atlassian.net/secure/BrowseProjects.jspa?selectedCategory=all&selectedProjectType=all > Should only see the project they have access too. In this test, only project using Any Logged in User permission. This is right
- Paste the Admin Project Page (Page which the example user cannot navigate to via the UI) > https://<example>.atlassian.net/secure/project/ViewProjects.jspa
- Cannot see a list of project, this is good and right > error:
You do not have the permissions to administer any projects, or there are none created.
Create Bug: Add Current Assignee to the Administer Project permissions for a Test Permission scheme
- Adding Current Assignee to Administer project permission for sample Permission Scheme
- Make sure Permission scheme has attached a few Projects
- Log in as test user
- Now you can see the cog wheel top right to Administer JIRA. Only selection in drop down is Projects
- Clicking Project will take you to the Project Admin page > https://<example>.atlassian.net/secure/project/ViewProjects.jspa
- You can see All projects that have the test permission scheme attached. Even if the user never had access to view these project or if they are not a site-admin. Users also can make changes to certain fields
Expected Results
- For users to only be able Administer Project which they have Assigned tickets
- For user to only be able to view and access project that they have Assigned tickets
Actual Results
- End users are able to view ALL Projects attached to the permission scheme with Current Assignee listed for Administer Project permission
- User is also able to make changes to these project
- The list of Projects attached to Permission scheme are visible by all users, including non-admins. Even if user does not have any issues assigned to them in the project
Notes
Related bugs:
Feature request:
Workaround
Remove Current Assignee from the Administer Project permissions for all permission schemes
Query to narrow down the Permission Schemes affected:
SELECT SP.perm_type AS Role, SP.perm_parameter AS GroupName, PS.name AS PermissionSchemeName, SP.permission_key AS Permission FROM schemepermissions SP INNER JOIN permissionscheme PS ON SP.scheme = PS.id WHERE SP.permission_key = 'ADMINISTER_PROJECTS' AND SP.perm_type = 'assignee';
- relates to
-
JRACLOUD-31720 Grant "Browse Project" permission to "Current Assignee" makes project visible to all users
-
- Closed
-
-
HELIX-637 Loading...
- mentioned in
-
Page Failed to load
Granting Current Assignee to the Administer Project permissions will allow user to view all Projects
-
Bug
-
Resolution: Duplicate
-
Medium
-
1
-
Severity 3 - Minor
-
Summary
Granting Current Assignee to the Administer Project permissions will allow users to see ALL Projects that are assigned to that Permission Scheme. You can see the projects even if the user does not have any assigned issues in the project or even if the user is not listed as site-admin. This is a security issue since it will allow users access to view Project Setting as well as Edit some Project fields
Environment
- JIRA Cloud: 1000.1162.0
Steps to Reproduce
Isolate test user to only have JIRA application access on instance and no other Project Permissions:
- Create sample user. (You can use any user that does not have any issue created or assigned)
- Creating new group: test-group
- Add group to user
- Removing all other groups from user so that the only group is test-group
- Add JIRA Application Access to group-test: https://<example>.atlassian.net/admin/accessconfig (just can sign in, no admin permission)
- Login in as user
- Cog Wheel is NOT be present in top right for JIRA Administration> This is good news and is intended
- User Browse Project page: https://<example>.atlassian.net/secure/BrowseProjects.jspa?selectedCategory=all&selectedProjectType=all > Should only see the project they have access too. In this test, only project using Any Logged in User permission. This is right
- Paste the Admin Project Page (Page which the example user cannot navigate to via the UI) > https://<example>.atlassian.net/secure/project/ViewProjects.jspa
- Cannot see a list of project, this is good and right > error:
You do not have the permissions to administer any projects, or there are none created.
Create Bug: Add Current Assignee to the Administer Project permissions for a Test Permission scheme
- Adding Current Assignee to Administer project permission for sample Permission Scheme
- Make sure Permission scheme has attached a few Projects
- Log in as test user
- Now you can see the cog wheel top right to Administer JIRA. Only selection in drop down is Projects
- Clicking Project will take you to the Project Admin page > https://<example>.atlassian.net/secure/project/ViewProjects.jspa
- You can see All projects that have the test permission scheme attached. Even if the user never had access to view these project or if they are not a site-admin. Users also can make changes to certain fields
Expected Results
- For users to only be able Administer Project which they have Assigned tickets
- For user to only be able to view and access project that they have Assigned tickets
Actual Results
- End users are able to view ALL Projects attached to the permission scheme with Current Assignee listed for Administer Project permission
- User is also able to make changes to these project
- The list of Projects attached to Permission scheme are visible by all users, including non-admins. Even if user does not have any issues assigned to them in the project
Notes
Related bugs:
Feature request:
Workaround
Remove Current Assignee from the Administer Project permissions for all permission schemes
Query to narrow down the Permission Schemes affected:
SELECT SP.perm_type AS Role, SP.perm_parameter AS GroupName, PS.name AS PermissionSchemeName, SP.permission_key AS Permission FROM schemepermissions SP INNER JOIN permissionscheme PS ON SP.scheme = PS.id WHERE SP.permission_key = 'ADMINISTER_PROJECTS' AND SP.perm_type = 'assignee';
- relates to
-
JRACLOUD-31720 Grant "Browse Project" permission to "Current Assignee" makes project visible to all users
-
- Closed
-
-
HELIX-637 Loading...
- mentioned in
-
Page Loading...