YApi-Efficient, easy-to-use, powerful visual interface management platform - (2) 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:

image-20230707144300453

Add a group name, group profile, specify the group leader (must be a registered user name), and click OK:

image-20230707144427103

Enter the group, we can manage the items and members in the group; view the group dynamics, and set the group:

test

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:

image-20230707153618110

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:

image-20230707153825754

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:

image-20230707154022379

Note: Only super administrators have permission to delete groups.

Guess you like

Origin blog.csdn.net/qq_20185737/article/details/131598124