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

后端 未结 19 1884
天命终不由人
天命终不由人 2020-12-08 04:24

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

 is missing the Ov         


        
相关标签:
19条回答
  • 2020-12-08 04:51

    Also check the case user names in the authorizationStrategy element. I made my new user's name lower case and restarted the service and it the error went away.

    0 讨论(0)
  • 2020-12-08 04:56

    I had a similar problem I was not able access Jenkin account and the system was locked. I had only an error message. "Access Denied "

    When I tried to reinstall Jenkins then it prompted to Repair option. By clicking Repair option it fixed the problem.

    0 讨论(0)
  • 2020-12-08 04:57

    I am using Crowd 2 plugin and I have the same problem. I fixed it by downgrading OWASP Markup Formatter Plugin from varsion 1.2 to version 1.1 and then changing Markup Formatter in Configure Global Security value to Raw HTML, before it was Plain text.

    0 讨论(0)
  • 2020-12-08 05:00

    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.
    0 讨论(0)
  • 2020-12-08 05:01

    I had the same problem before, your OAuth application need your organization owner's approve, then the OAuth Plugin can access the private data in it

    0 讨论(0)
  • 2020-12-08 05:03

    What I did when I got this error is to edit config.xml as mentionned by other users and correctly re-add my username in LOWERCASE in "configureSecurity" Jenkins' page. I was using "KrustyHack" when adding permissions but it didn't work. I had to add "krustyhack" instead, and it worked.

    I hope it helps.

    0 讨论(0)
提交回复
热议问题