w3resource

Managing Users in Cypress Dashboard: Roles and Permissions


Today we will be looking at the user feature of the dashboard. We will cover who a user is, how to invite new users, the user roles that exists in an organization, as well as the ability of a user to request access to a given organization.

Users

A user is anyone who can log in to the Dashboard Service.

Invite users

You can invite new users to Cypress from the Dashboard Service. The invited users that are invited will be able to see all the projects and tests run for that organization.

Invite a user to an organization

  1. Go to the Organizations page to select the organization you want to invite a user to.
  2. Once you are on the Organizations Page, click on Users, and invite User. It should be noted that you must have the role of admin or owner to be able to invite users.
  3. Fill in the email of the new users you want to invite and select their role, then click Invite User. It should be noted that only owners can give other users owner access.
  4. The invited user will receive an invitation email with a link to accept the invitation.
cypress: users image

User roles

The users in an organization can be assigned roles that affect their access to certain features of the Dashboard Service.

Member: A member can see the projects, runs and keys in an organization.

Admin: An admin has the ability to invite, edit and delete users

Owner: Owners have the most control; they can transfer or delete projects. They can even delete and edit the organization.

Here is a summary of the permission for each user role for the Dashboard Service

Permission
See test recording of private projects Member Admin Owner
See record keys of projects Member Admin Owner
See billing and usage information   Admin Owner
Edit billing information   Admin Owner
See users invited to organization   Admin Owner
Resend invitation to invited user   Admin Owner
Invite ‘member’ to organization   Admin Owner
Invite ‘admin’ to organization   Admin Owner
See user requests to join organization   Admin Owner
Accept user requests to join organization   Admin Owner
Remove ‘member’ from organization   Admin Owner
Remove ‘admin’ from organization   Admin Owner
Edit ‘member’ in organization   Admin Owner
Edit ‘admin’ in organization   Admin Owner
Edit project name   Admin Owner
Edit project status (private/public}   Admin Owner
Add or delete record keys   Admin Owner
Invite ‘owner’ to organization     Owner
Edit ‘owner’ in organization     Owner
Remove ‘owner’ from organization     Owner
Add, edit, remove user in personal organization     Owner
Edit organization name     Owner
Delete organization     Owner
Transfer project to another organization     Owner
Delete project     Owner

User requests

A user can also request access to a given organization. If a developer in your team has access to Cypress as well as your project’s source code- then they can request to be given access to your organization. This means that rather than inviting the team members ahead of time, they can request access and then you decide whether you want to accept or deny them access.



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://w3resource.com/cypress/users.php