Jenkins configuration permissions are incorrect, resulting in inability to log in or a blank page solution

Find the .jenkins/config.xml file:
replace it with:
1. <authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
This permission corresponds to " any user can do anything (without any restrictions) "

2. <authorizationStrategy class ="hudson.security.FullControlOnceLoggedInAuthorizationStrategy "/>
This permission corresponds to "The logged in user can do anything "

3. <authorizationStrategy class="hudson.security.GlobalMatrixAuthorizatio nStrategy">  <permission>hudson.model.Hudson.Administer:test< /permission>  <permission>hudson.scm.SCM.Tag:test</permission>  </authorizationStrategy> This permission corresponds to the test user, which can be administrator and tagging permission. 2. If you want to configure the connection to Microsoft ldap, you need to install the Active Directory plugin. For example configuration: Domain Name:
   
   
 





Domain controller: 192.168.0.112:3268

LDAP global directory: TCP port 3268 (if the DC maintains control of the global directory)

3. By default, anonymous users can view all items, even if "login users can do anything" is configured
if If you want to prohibit anonymous use, you can use the "Security Matrix".
After selecting the security matrix, the "Anonymous User" user will appear. If you remove all the checkboxes, you will have no permissions.
Among them, Administer in overall represents all permissions, which can be set as administrator.
Permission configuration: http://hi.baidu.com/nesaynever/blog/item/9f34a1c80a6454377d3e6f65.html Among

them: Overall is global authority, slave is cluster authority, job ,run,view,scm are business permissions.
Among them, the read in the overall should be checked, otherwise the user will not see anything after logging in.
overall:  Administer: system administrator permissions  read: browse framework job:  read: view job  build: execute build  cancel: cancel build run:  Delete: delete a build  Update: edit a build information SCM:  Tag: for a build in Label on svm.
 
 


 
 
 


 
 


 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326223726&siteId=291194637