Let's learn how to invite members to our projects.
In this demonstration,
we will learn how to invite new members to our project using their
email addresses or their usernames on GitLab.
We will also learn how do we define the roles for the users that we
invite to the projects. Open the project and select the Members menu
under Project information. On this page, we find all the members who
are a part of this group.
Note that the members of a project are different from the
members of your organization or the group.
We can invite a member to the group using the Invite members button on
the top right corner. Click on this button to open up the pop‑up for the
invites. Here, we can use the email address of the user or their
username, if we know it. GitLab would search for the user and allow us
to select one from the list.
Of course, this depends on the privacy policy of the users too. Let's
select a user from the list and assign them a role.
We select a Guest role for now and apply an expiration date for the invite.
It is always best to keep an expiration date so that the invite expires after a
few days. Click on the Invite button to send the invitation. Refresh the page,
and you should be able to see the user in the list.
You can also see the role that they currently have. In a different browser
window, I open my default Git lab account and access this project. There, we can
access the project from a secondary account as well.
It shows the Guest role.
We can explore some areas of the project as a guest and
review what is happening in the project.
We do not have much permissions to create new stuff, such as the capability
to create new files or to modify access for the users.
Let's give ourselves some more permissions by changing
our role from Guest to a Developer.
Now,
if we refresh the page, we will see a lot of settings and
features that we were not able to see previously.
Now we can create issues or work on the projects as well.
Administrators can always modify the roles for the users.
In this demonstration,
we will learn how we can import the members from a
project or a group to our own project.
Apart from inviting individual members, GitLab users can also
invite members of a specific project or a group.
This is very helpful if you want to bring everyone to a new
project for a proof of concept or a temporary task. Click on the
Import from a project button and select the project from where you
would like to import the users.
Similarly,
you can also invite groups from your organization to
collaborate with you on the projects.
If you click on the Invite a group button,
you can then search for the group that you would like to invite and bring them
in the team. But the group invitations are done rarely as groups have the
capability to create projects in their own scope as well.