'User is missing the Overall/Read permission' error with Jenkins GitHub OAuth Plugin

real_ate picture real_ate · Mar 28, 2014 · Viewed 87.9k times · Source

I'm using the github oauth plugin for our logins but for all of our users in the Organisation I get an error:

Access Denied

<user> is missing the Overall/Read permission

I have tried everything I can possibly think of to try to make this work and I'm probably going to fallback to making everyone an admin user, which i would prefer not to do.

Any advise would be appreciated.

Answer

Tom Johns picture Tom Johns · Feb 3, 2015

This is how I resolved the authentication problem:

  1. Edit config.xml file, e.g.

    sudo vi /var/lib/jenkins/config.xml
    
    1. Change useSecurity element's value to false, e.g.

      <useSecurity>false</useSecurity>
      
    2. Remove authorizationStrategy block

  2. Restart Jenkins: /etc/init.d/jenkins restart.

  3. Access Jenkins through URL as usual and reconfigure security again.