YApi group permissions
Meet YApi
YApi is an open source interface management platform that can easily manage and test API interfaces, and supports functions such as automatic generation of interface documents, mock data generation, interface testing, and interface monitoring. YApi supports functions such as multi-person collaboration and permission control, which can help teams better manage interface documents and development processes.
role division
YApi introduces the idea of a flat management model into the rights management of the product. The super administrator has the highest authority and assigns the authority to several team leaders . The super administrator only needs to manage the team leaders .
The group leader is divided into group leader and project leader . Their relationship is that there are several group leaders in a group , and these group leaders can designate the project leader when creating a project .
The permissions of the group leader include modifying the group, deleting the group, and creating items under the group. Generally speaking, the group leader only needs to be responsible for the project, and assign the operational tasks of the project to the project leader .
The project team leader only belongs to a certain project, so it cannot operate the group to which the project belongs, but has all the authority of the project. The project team leader is the grassroots manager of YApi, and undertakes most of the daily management work of YApi.
project permissions
The permissions of each role for the project are as follows:
operate | tourists | project developer | Project Leader | super administrator |
---|---|---|---|---|
Browse public projects and interfaces | ✓ | ✓ | ✓ | ✓ |
Browse private projects and interfaces | ✓ | ✓ | ✓ | |
Edit project information | ✓ | ✓ | ✓ | |
new interface | ✓ | ✓ | ✓ | |
edit interface | ✓ | ✓ | ✓ | |
Edit project avatar | ✓ | ✓ | ||
delete item | ✓ | ✓ |
Group permissions
The group permissions of each role are as follows:
operate | tourists | group developers | group leader | super administrator |
---|---|---|---|---|
browse group | ✓ | ✓ | ✓ | ✓ |
Create a new item in the group | ✓ | ✓ | ✓ | |
Edit group information | ✓ | ✓ | ||
Manage group members | ✓ | ✓ | ||
delete group | ✓ | ✓ |
group operation
create group
Enter the homepage, click the icon on the right side of the personal space to create a group:
Add a group name, group profile, specify the group leader (must be a registered user name), and click OK:
Enter the group, we can manage the items and members in the group; view the group dynamics, and set the group:
project list
Click the [Project List] tab to view the projects under the group, and click the [Add Project] button to jump to the new project page:
add members
Click the [Member List] tab to view all members under the group, and click [Add Member] to add members to the group and set member permissions:
Note: The user name must be a registered user.
group delete
Click the [Group Settings] tab, click Delete and enter the group name to delete the group:
Note: Only super administrators have permission to delete groups.