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

支持插件审核 #6

Open
Him188 opened this issue Apr 9, 2021 · 9 comments
Open

支持插件审核 #6

Him188 opened this issue Apr 9, 2021 · 9 comments

Comments

@Him188
Copy link
Member

Him188 commented Apr 9, 2021

No description provided.

@Him188
Copy link
Member Author

Him188 commented Apr 9, 2021

插件需要审核,审核只需一次。审核的内容是插件的 ID 等信息,不审核其他文件。

应该可以在创建插件时将它设置为待审核状态,待管理员操作转为已审核状态后才能上传文件。

插件在创建后就不能改变 id,除了 id 以外的其他信息都可以更改。

@HoshinoTented
Copy link
Collaborator

对同一用户,是否有空间限制(或者插件数量限制)?

@HoshinoTented
Copy link
Collaborator

或者说,对上传的文件使用 POW?文件越大,那么需要的工作量可能越多?

@liujiahua123123
Copy link
Member

liujiahua123123 commented Apr 13, 2021

全部网页接口都有POW
所以我建议可以先审核通过才可以上传文件

@HoshinoTented
Copy link
Collaborator

全部网页接口都有POW
所以我建议可以先审核通过才可以上传文件

我是这么打算的

@HoshinoTented
Copy link
Collaborator

下个 pr 打算整 role 了,然后就可以搞审核接口了 👍

@HoshinoTented
Copy link
Collaborator

关于插件状态修改:
希望请求给与状态码还是状态名称?
个人倾向后者

@HoshinoTented
Copy link
Collaborator

@Him188 @mzdluo123

@eiriksgata
Copy link

关于插件状态修改:
希望请求给与状态码还是状态名称?
个人倾向后者

给予状态码,与枚举实体类绑定。状态码的作用主要面向于国际化(如果你不想国际化则不用太在意)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants