Add WorkerOwnerAuthz, WorkerEndpointMatcher, RolesFromWorkerOwner.
Details
Details
Diff Detail
Diff Detail
- Repository
- rZORG LLVM Github Zorg
Event Timeline
Comment Actions
Updated the error message, removed the required role name (LLVM group name).
Added match_BuildRequestEndpoint_cancel().
The build request can be cancelled if the user is an owner of at least one worker associated with the builder.
Note Cancel whole queue on the page /#/builders will call /api/v2/buildrequests/<buildrequestid> for each build request and will stop if you have no rights for some builder. Use Cancel whole queue from the page /#/builders/<builderid> to be sure.
Note there is no any error message if you have no rights for Cancel whole queue. Probably we must create an issue for buildbot.