-
Bug
-
Resolution: Fixed
-
Low
-
6.2.1
-
Severity 2 - Major
-
Summary
Permission assignment is not anymore working for groups with "/" forward slashes
Bamboo doesn't allow creating groups with some special characters like "/", but they can be created in LDAP or JIRA for example. When synced to Bamboo this issue is created.
Steps to Reproduce
- Add a group called "name/name" in JIRA
- Configure Bamboo to get its users form JIRA
- Try to assign any Bamboo permissions (Project, Plan or Global) to this group
Expected Results
The permissions are correctly assigned
Actual Results
The Browser will receive a 400 error for the following request:
General Request URL:http://localhost:8085/bamboo/rest/api/latest/permissions/project/PROJ/groups/name%2name Request Method:PUT Status Code:400 Bad Request Remote Address:[::1]:8085 Referrer Policy:no-referrer-when-downgrade Response Headers Connection:close Content-Length:0 Date:Fri, 29 Sep 2017 18:08:38 GMT Server:Apache-Coyote/1.1 Request Headers Accept:application/json, text/javascript, */*; q=0.01 Accept-Encoding:gzip, deflate, br Accept-Language:en-US,en;q=0.8 Connection:keep-alive Content-Length:10 Content-Type:application/json Cookie:JSESSIONID=3D39E9BD2E94F9BB99E81318E36C1EC4; BAMBOO-AGENT-FILTER=LAST_25_BUILDS; BAMBOO-BUILD-FILTER=ALL_BUILDS; atl.xsrf.token=79b697d3e2b151d9c35d421c371b44e643902b3e; BAMBOO-MAX-DISPLAY-LINES=25; atlassian.bamboo.dashboard.tab.selected=allPlansTab; bamboo.dash.display.toggles=1900546-0|buildQueueActions-actions-queueControl; BAMBOO-BUILD-FILTER=LAST_25_BUILDS; BAMBOO-MAX-DISPLAY-LINES=25; bamboo.dash.display.toggles=buildQueueActions-actions-queueControl; toggle=false; AJS.conglomerate.cookie="|config.sidebar.branchNavigator.expanded=true|config.sidebar.planNavigator.expanded=true|tabContainer.relies_40_51_0433.selectedTab=Agents|tabContainer.tabContainer.selectedTab=Capabilities|tabContainer.remote-agents-tabs.selectedTab=Online%20remote%20agents"; crowd.token_key=s5RHkjYd9IdZNGYX5W3i6A00; _ga=GA1.1.416090514.1497366042; _gid=GA1.1.1679337175.1506620950 Host:localhost:8085 Origin:http://localhost:8085 Referer:http://localhost:8085/bamboo/project/admin/config/editProjectPermissions.action?projectKey=PROJ User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36 X-Atlassian-Token:no-check X-Requested-With:XMLHttpRequest Request Payload view source ["CREATE"] 0 : "CREATE"
The following dialog will show up:
Note
- This problem cannot be reproduced in Bamboo 6.1.1
- This issue is probably affecting other characters (it is also present for the backslash for example)
- was cloned as
-
BAM-20873 Group configuration is not working for groups with "/" forward slashes
-
- Long Term Backlog
-