-
Bug
-
Resolution: Fixed
-
Critical
-
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
[JENKINS-62478] users unable to configure multibranch jobs without global Job/Build permission
Attachment | New: job-configuration-error.jpg [ 51323 ] | |
Attachment | New: folder-level-configuration.jpg [ 51324 ] | |
Issue Type | Original: Improvement [ 4 ] | New: Bug [ 1 ] |
Attachment | New: jenkins-log.txt [ 51325 ] |
Environment |
Original:
jenkins server 2.222.3 folders plugin 6.12 matrix authorization plugin 2.6.1 matrix project plugin 1.14 gitlab branch source plugin 1.5.1 |
New:
gitlab server 12.10.0-ee jenkins server 2.222.3 folders plugin 6.12 matrix authorization plugin 2.6.1 matrix project plugin 1.14 gitlab branch source plugin 1.5.1 |
Description |
Original:
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. i'll provide the line from the log shortly. |
New:
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. |
Environment |
Original:
gitlab server 12.10.0-ee jenkins server 2.222.3 folders plugin 6.12 matrix authorization plugin 2.6.1 matrix project plugin 1.14 gitlab branch source plugin 1.5.1 |
New:
gitlab server 12.10.0-ee jenkins server 2.222.3 folders plugin 6.12 matrix authorization plugin 2.6.1 matrix project plugin 1.14 gitlab branch source plugin 1.5.1 multiple scms plugin 0.6 |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |
Summary | Original: users unable to create multibranch jobs without global Job/Build permission | New: users unable to configure multibranch jobs without global Job/Build permission |
Attachment | New: creating a multibranch pipeline as the user.jpg [ 51657 ] | |
Attachment | New: creating the multi branch pipeline as the user.jpg [ 51658 ] | |
Attachment | New: gitlab server definition.jpg [ 51659 ] | |
Attachment | New: jenkins root folder.jpg [ 51660 ] | |
Attachment | New: jenkins security definition.jpg [ 51661 ] | |
Attachment | New: jenkins user definition.jpg [ 51662 ] | |
Attachment | New: some_folder configuration.jpg [ 51663 ] | |
Attachment | New: uesr receive error message when creating gitlab project.jpg [ 51664 ] |
Attachment | New: jenkins-plugins-installed.txt [ 51665 ] |