NimChimpsky
NimChimpsky

Reputation: 47280

jenkins unmet qualification

I upgraded my installation of jenkins to version 2.249.1.

Previously the approve promotion button was displayed only when the user specified was logged in. After upgrade the approve promotion is displayed all the time with the title unmet qualification - but its still possible to approve!

I want to remove entirely the option to promote. enter image description here

Versions :

Jenkins 2.249.1

git 4.4.4

git client 3.5.1

promoted builds 3.6

Upvotes: 7

Views: 218

Answers (2)

Alex O
Alex O

Reputation: 8164

The reason is that handling of approval permissions has changed in the plugin with revision 3.0.

Whether the Approve button appears or not now depends (only) on whether the current user has the (global, user-specific) permission to promote.

Pre-3.0 versions of the plugin did compare the current user name to the list of users that you specified in the job configuration.

Bottom line:

  • You cannot separate approval permission from promotion permission.
  • If you need project-specific approval rights for specific users, then you have to establish project-specific promotion permissions (e.g., via the matrix-auth plugin).

Upvotes: 2

lkamal
lkamal

Reputation: 3938

Seems there is a bug already reported on this plugin in 2011 (but version is not mentioned there).

JENKINS-11635: Shouldn't allow manual promotion by 'anonymous'

As per that ticket, this seems to be a long lasting bug unfortunately.

Upvotes: 2

Related Questions