Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 项目权限 #317

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yaming116
Copy link
Contributor

@yaming116 yaming116 commented Mar 1, 2023

Whether this PR is eventually merged or not, Sonic will thank you very much for your contribution.

无论此PR最终是否合并,Sonic组织都非常感谢您的贡献。

Checklist

  • The title starts with fix, fea, or doc. | 标题为fix、feat或doc开头。
  • I have checked that there are no duplicate pull requests with this request. | 我已检查没有与此请求重复的拉取请求。
  • I have considered and confirmed that this submission is valuable to others. | 我已经考虑过,并确认这份呈件对其他人很有价值。
  • I accept that this submission may not be used. | 我接受此提交可能不会被使用。

Description

@ZhouYixun ZhouYixun changed the title 项目权限 feat: 项目权限 Mar 1, 2023
@prlabeler prlabeler bot added the feature label Mar 1, 2023
Copy link
Member

@ZhouYixun ZhouYixun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

方案可行,新文件的头部可以加上license

@yaming116
Copy link
Contributor Author

通过接口名称获取到当前操作的项目id,以及当前操作接口对应需要的权限。目前想法是设计几个固定角色,例如:管理员,开发者,查看者。新建项目默认是当前项目的管理员,管理员可以管理当前项目的人员及角色。需要考虑是否需要添加接口级别的全局用户白名单,用于jenkins之类的插件需要

@ZhouYixun
Copy link
Member

ZhouYixun commented Apr 16, 2023 via email

@ZhouYixun ZhouYixun mentioned this pull request May 15, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants