-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Critical
-
Component/s: gitlab-branch-source-plugin
-
Environment:gitlab server (www.gitlab.com)
jenkins docker official image 2.222.4 (occurs in 2.263.1 as well)
plugins and configuration attached as files.
steps to recreate:
- create a folder
- enable folder based permissions
- add a user and grant all the available permissions
- create a multibranch job in the folder
- in branch source, choose gitlab.
- user gets the following error message between the "projects" section and the "Behaviours" section:
------------------------------
Access Denied
<username> is missing the Job/Build permission
--------------------------------
Â
Â
workaround:
granting the user the Job/Build permission in "Configure Global Security " solves the problem, but this is major breach in security.
Â
it appears as if the plugin doesn't take into account the permissions granted to the user at the folder level.
- links to