-
Task
-
Resolution: Fixed
-
Critical
-
None
-
-
1.0
Users that lack the "create job" permission should not be able to access the Creation flow as they cannot actually complete it: it will fail with a 403 at the end.
Scope
- Only show the "New Pipeline" button on Dashboard for users with "create job"
- If the user navigates directly to the "create-pipeline" URL, we should short-circuit the Creation flow for users lacking the "create job" permission
- Do the same short-circuit for "create-pipeline" if the user has not authenticated
Notes
- Need to update core-js User to automatically expose data from the passed in "blueUser" otherwise we'll have to touch this time every time we want to expose new data.
- is blocked by
-
JENKINS-41433 Add new API for "permissions"
-
- Resolved
-
-
JENKINS-42354 ATH must support users and run logged in where needed
-
- Closed
-
- relates to
-
JENKINS-41373 Github SCM "creation" returns unhandled 403 exception when user lacks "create job" permission
-
- Closed
-
-
JENKINS-41573 Git Creation needs to better handle users with restricted credential permissions
-
- Closed
-
Since the backend enforces security on the REST API, I don't view this as a critical issue. However it will be frustrating for end users to move through the creation flow and receive an error at the end if they lack the right permission. jamesdumay feel free to prioritize this accordingly.