Exchangis icon indicating copy to clipboard operation
Exchangis copied to clipboard

[Feature] Exchangis project and job permission control function support

Open jefftlin opened this issue 3 years ago • 0 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Problem Description

At present, the project created by Exchange IS does not support the function of permission opening for the time being. For a project, only the currently logged-in user can view, edit and execute the project. Different users cannot view, edit and execute the project created by other users, so the project collaboration is not strong. At the same time, it doesn't meet the authentication of user rights when docking DSS.

Description

At the front end, for a user, all functions without permission are grayed out. When creating a project on Exchange is, specify users with three permissions (multiple choices are allowed), divide the user permission information into three levels, and save them in the data table Exchange is _ project _ user in the form of digital accumulation. Among them, the viewing permission is 4, the editing and executing permission is 2, the publishing permission is 1, and the user has the highest permission of 7. The specific levels have the following permissions for projects and jobs: View: have the view permission of projects and jobs. Edit: have the editing and execution rights of the job. Publish: Have the publishing permission of the job. Only the creator has the editing permission of the project. It is divided into project level and job level. Because the current granularity of permissions is only at the project level, when checking the permissions of jobs and tasks, the corresponding project shall prevail.

Use case

No response

solutions

No response

Anything else

No response

Are you willing to submit a PR?

  • [X] Yes I am willing to submit a PR!

jefftlin avatar Sep 16 '22 13:09 jefftlin