Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Hudson-ci/features/Team Concept User View

This page explains the user view of setting up and using Hudson Team Concept

Adding Team Based Authorization

Note: Before setting up the Authorization scheme, add the Security Realm to Hudson and makes sure the user authentication works fine.

The entire Team Concept is implemented as an Authrozation Strategy. So in order to use the Hudson Team Concept, first the the Team Based Authroization Strategy must be selected as the Authorization Scheme for Hudson.

Go to Hudson Management Page and click on the Configure Security Link. Then select the Team based Authorization Stratgey. Once selected, if it is the first time, then a message is displayed to inform at least one user must be set as System Administrato.


TeamBasedAuthorizationStrategyWithNoAdmin.png


Click on the Add Sys Admin button to add at least one System Administrator. This brings up a dialog to input a user name or group name. If the username or group is already added, the dialog displays the appropriate message.


AddSysAdminDialog.png


Once the username or group is added to the Administrator list, now they are displayed with icon to show the status of the user and also a delete icon next to the name. The delete icon can be clicked anytime to remove the entry in the System Administrator list.

TeamBasedAuthorizationStrategyWithAdmin.png


There are three types of icon displayed in the list entry

  1. User Icon to show entry is a person
  2. Group Icon to show entry is a group
  3. Red icon to show the entry is unknown to the selected Security Realm

Up on clicking the Delete Icon, a confirmation dialog pops up to confirm the deletion of entry in the Sys Admin list. Any error message received from the server while removing the entry will be displayed in the dialog as a red text.


SysAdminDeleteDialog.png


Managing the teams by Sys Admin

Only the System Administrator is allowed to do creation, deletion and adding initial Team Admins. The team management is done via the Manage Teams link in the Hudson management page. This link appears only if the logged in user is a System Administrator and the Team Based Authorization is selected.


ManageTeamLink.png


Clicking on the link opens the Team Management page. If there are no teams setup in Hudson this page dispay the appropriate notification along with a button to create new team.


ManageTeamWithNoTeam.png


Clcik on the Create New Team to create a new team. A dialog appears to provide team name and description for the team. Any error associated with creation of team will be displayed in the dialog.


CreateTeamDialog.png


When the team is successfully created, it will be displayed on the page with no Team admins and Members. There are few buttons on the Team UI

  • Button to delete the team
  • Button to Add Team Admin
  • Button to Add Team Member


TeamUIWithNoMembers.png


When the Delete Team is clicked a dialog appears to inform the Team will be permanently deleted.

Note: If a team is deleted, then all its jobs must become global jobs, so that System Admin can assign them to other teams (Not Implemented Yet)

TeamDeleteDialog.png


Clicking on the Add Admin or Add Member button, brings a dialog to add a user or group to be added as as Team Admin or Team Member

AddTeamAdmin.png

When the user and group is added to the Team, now the UI changes to show the members in the team.

TeamUIwithMembers.png

The member information is showed with user or group status icon and a delete icon to delete the members. When clicked on the delete icon, a dialog pops up to confirm the deletion of Team member

DeleteTeamMemberDialog.png


Managing a single team by Team Admin

When a team admin login, then that user get to admin only team the user belongs to. The Manage Team link appears on the ledt hand side at the Side Panel

ManageSingleTeamLink.png

Clicking on the Manage Team link take the team admin to the Team Management Page. But untlike the Sys Admin user, the management page does not display all the teams available in the Hudson indstance. Also the Team admin does not have buttons (or previlege) to create or delete team. But the team admin can add other team admins to the team and other members to the team

SingleTeamAdminUI.png

 
After the teams are created and users are added to the teams, any job created by the team will have permission and scope explained in the Team Concept Page.

Back to the top