How to get Jenkins to hide magazines, history, etc. On the home page?

I want to remove all changes, workspace links and logs from the first page of Jenkins.

I do not want unauthorized people, bots, etc. had access to this information.

How can i do this?

+6
source share
1 answer

Set your permissions to not allow unauthorized access

Attention:

Make sure you have your own settings for the user / administrator, but you risk blocking yourself. If you do, use here - reset [thanks Alex]

To configure anonymous users to not see anything:

  • Go to Jenkins Management
  • Click Configure System / Configure Global Security (depending on Jenkins / Hudson configuration)
  • Under Access Control → The Realm of Security , you must have either Matrix-based security or Project-based Matrix Authorization Strategy . Suppose you select a later version.
  • In the User / group: section, enter authenticated and click Add
  • Now give this group all the permissions you want them to have.
  • Next in the User / group section add: type Anonymous and click Add
  • Ensure that no permissions are granted to this group.
  • Click Save

Thus, anonymous (not registered) users will not be able to see anything, but authenticated users (logged in) will be able to see what you have selected. You can deploy more specific user permissions by adding individual users and granting them specific permissions.

PS User authentication depends on Security> configuration. You can configure to use Active Directory/LDAP or use Jenkin own user database . The first means that you do not need to create users in Jenkins, just give them permission. Later, you must first create Jenkins users through Jenkins Management → User Management

+15
source

All Articles