Hey We are MyGurukulam

Welcome to MyGurukulam thought & Blogs

Group-Based Authorization in GitLab

To know why DevOps is popular and what makes it important for your development projects, let’s read and explore more about the DevOps world.

Why Group-Based?

In an organization, there are multiple projects, and every project has multiple users every user has a different role to perform, based on the role whether he is owner, maintainer, developer, reporter, or guest we assign the role to that user, but the main problem is that when we have to use those users to the different project then we have to do all the same task again. There is a better way to manage users in GitLab by creating groups and assigning those groups to the project.

What is GitLab Group?

In GitLab, we use groups to manage one or more related projects at the same time. We can use groups to manage permissions for your projects. If someone has access to the group, they get access to all the projects in the group. We can also view all of the issues and merge requests for the projects in the group, and view analytics that shows the group’s activity. We can also create subgroups in a group.

Share Project with Groups

We can share projects with groups. This makes it possible to add a group of users to a project with a single action. Instead of adding users directly to the project we first create different groups and invite members to that group with a max role. Invite that group to the project, by doing so we can manage users in the project much more efficiently.

Steps to solve the problem:

To authorize users we need to create a group and invite users to that group and invite that group to the project where you want to authorize users, so users are first added to a group and then the group is added to the project. For a better understanding, I have shown an example below:

Groups for Authorization

For proper managing users we have gone with the group concept, in this, we have created three groups gurusdevops and reviewers. Every group is assigned different roles, and depending upon the roles, the group will have permission.

Group with Roles

We have assigned each group with different role and added respective members to the group

Serial No.Group NameRoleMembers
1gurusOwnerMahesh Kumar and Naveen Verma
2devopsMaintainerJaved Khan, Sanyam Kalra, Shubham Sahu and Varsha Kanwar
4reviewersReporterAbhishek Vishwakarma and Ishaan Ambashta

For better understanding, we have created a group name avengers with two members name Ashutosh Yadav and Sandeep Rawat, within-group we created a subgroup with the names devops, gurus and reviewers

Note: Group members of the avengers will be directly inherited by all subgroups

We added all the members to the respective groups. We can use these groups to assign users to the project. Doing this it makes easier for managing users in the project.

Using this strategy it makes easier when someone leaves or joins an organization, we only need to add or remove from the respected group. It takes less effort to manage users in the organization when someone is part of multiple groups.

Conclusion

Using a group for managing users is a better way to manage users. Doing so it makes easier for the admin to manage users. In an organization, different teams have different permission on different projects, using group-based user management, we can change the permission on any group by changing the max role of that group.

Reference

Facebook
Twitter
LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *

Download Ebook
Fill in the details to download the brochure
SNATAK

The Snatak period consists of industrial training where you are supposed to work on a specific project using various tools along with your teammates. This phase gives you a real life touch and feel of how projects can be in real life. The candidates are given planned and ad hoc tasks that need to be executed.

DISCUSSION ROUND (2)

This round of discussion is a part of final evaluation after the DevOps Ninja program. There is a discussion round and technical round where the 3 month knowledge is tested, final CTC and offer is made to you to join full time as a DevOps Engineer and be work ready from Day 1.

VIDHYARTHI PROGRAM (TRAIN)

This program is designed specifically for people in the advanced stage of their career who want to brush up their skill set and learn new skills and tools. This program enables you to learn DevOps in depth and continue without taking up a job with us. The price point for this program is slightly different from that of the Train-hire program.

VIDHYARTHI PROGRAM (TRAIN - HIRE)

This program is specifically designed for the candidates who want to continue with us i.e take up a job with us, designed for people in early stages of their career. In this case you will be signing a service agreement with us where you commit to stay with us throughout the course and thereafter continue working with us for a minimum of 2 years. We have in depth discussions around appraisal and CTC before one chooses to get into the phase. There will be specific cost implications if one chooses to leave anytime before the predefined period in the service agreement.

DISCUSSION ROUND

After the commencement of our 2 weeks program, where we shortlist a number of candidates on the basis of attitude, aptitude and dedication there is a detailed discussion around the candidature of these candidates.

  • We discuss the involvement required for the next 3 months.
  • We also discuss the CTC that we will be able to provide after the course concludes.
  • We discuss the total time and resources commitment required from your side and what we offer from our side.
ABHYARTHI PHASE

What is the ABHYARTHI PHASE

This is the first phase of the DevOps Ninja program. The entry fee for the program is Rs 2000/-. At this phase candidates get a taste of what the course is. This gives a chance to the people for the candidates to assess the quality of our training or involvement and our teaching methodology. This phase pays special attention to AWS and everything around it.See this as the first step to building a career in DevOps.

Download Brochure
Fill in the details to download the brochure
Fill in the details to enroll now
ninja
Please fill in following details.

Register now and we will contact you with more details when its time to complete your registration.