<< Back to previous view |
[QB-3532] Builds steps are visible via REST API even if user doesn't have permissions to do it
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | 10.0.13 |
Type: | Bug | Priority: | Critical |
Reporter: | Jedrzej Buraczewski | Assigned To: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
Example: https://build.pmease.com/rest/builds/4555/
|
Comments |
Comment by Robin Shen [ 07/Apr/20 11:39 PM ] |
This is by design. As long as user is authorized with configuration access permission, the user can access step information of the build. Also user is allowed to view step status of the build from UI. |
Comment by Jedrzej Buraczewski [ 27/Apr/20 03:18 PM ] |
Hi Robin,
User is not able to see steps (with step names, build machines, duration) via GUI, only using REST. https://build.pmease.com/build/4555/step_status - doesn't work while anonymous. https://build.pmease.com/rest/builds/4555 - I see all steps like: <entry> <string>master>publish binary</string> <com.pmease.quickbuild.stepsupport.StepRuntime> <beginTime>1533175619961</beginTime> <status>SUCCESSFUL</status> <nodeAddress>star.pmease.com:8810</nodeAddress> <resources/> <waitDuration>1</waitDuration> <duration>4364</duration> </com.pmease.quickbuild.stepsupport.StepRuntime> </entry> Are you sure this is correct behaviour? |
Comment by Robin Shen [ 27/Apr/20 11:42 PM ] |
Yes you are right, UI and rest api are inconsistent in this regard. We will remove step status information from returned build object in this case. |