In this hands-on lab, we will set up a working group that has a supervisor and two users. The supervisor account will be able to see the users’ resources, but the users will not be able to see one another’s resources. This will demonstrate an understanding of how permissions are applied in Jenkins.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Configure Global Security, Log in as the Administrator, and Create the Users and Folders
- Log in to the server using the provided credentials.
- Configure global security to utilize the Project-based Matrix Authorization Strategy.
- Create the three users as well as the
frontend
andbackend
folders.
- Set the Permissions on the Folders per the Provided Instructions
Tom
should only be able to see his folder and the jobs in that folder. He should not be able to seeLisa
‘s folder or the jobs in that folder.Lisa
should not be able to seeTom
‘s folder or the jobs in that folder. She should only be able to see her folder and the jobs in her folder.Diane
should be able to see bothLisa
‘s andTom
‘s folders and jobs but should not be able to run those jobs.
- Log in as Each of the Users and Verify Permissions Are Working Correctly
- Log in as
Tom
, and ensure he is only able to see thefrontend
folder. - Create a test job in the
frontend
folder, and ensure it can run. - Log in as
Lisa
, and ensure she is only able to see thebackend
folder. - Create a test job in the
backend
folder, and ensure it can run. - Log in as Diane, and that she can see both folders and the job status but is not able to run the jobs in those folders.
- Log in as