From the course: Intermediate Jenkins: Automate, Integrate, and Secure CI/CD Workflows at Scale

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Solution: Configure users and permissions

Solution: Configure users and permissions

We're fortunate to have enough time for another challenge. Excellent! We've been asked to demonstrate how two teams can limit access to jobs stored in folders. If we get this right, then members of both teams will be able to log in, but they'll only be able to see the folders they've been given permission to access. I started out by creating two users for the demo, one for engineering and one for marketing. These users will represent the two teams. On the security page, I changed the authorization strategy to use the project-based approach. This way, I can create folders as an admin and then give permissions to specific folders. Of course, I had to give myself admin permissions. That way, I can continue to administer the Jenkins installation. And then I added the engineering and marketing accounts and gave them both overall read permissions. That way, they're able to log in and at least see what they've been given permission to access. I created two folders, one for each team. This is…

Contents