msgbyte / msgbyte/tailchat

有关插件的权限 || About plug-in permissions

Open
#187 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.6k
Forks
398
Avg merge
1h 14m
Merged PRs (30d)
2

Description

我新增了一个账户里面是能随便添加插件的,但是能否限制用户的权限不让他们乱装,比如我作为管理员确定好这些官方插件和自定义的插件安装完成后,任何人注册登录这些功能都存在,但是普通用户没有新增插件的功能,给限制住。
我安装了后台管理,我看后台也没有此功能,如果在环境变量中更改,那也挺奇怪的得悄悄开开来然后增加了插件,再关闭吗= =...


I have created a new account and can add plug-ins at will, but can I restrict the user's permissions to prevent them from installing them randomly? For example, as an administrator, I have determined that after the installation of these official plug-ins and custom plug-ins is completed, anyone can register and log in. These functions all exist, but ordinary users do not have the ability to add plug-ins, so they are restricted.
I installed the backend management. I see that the backend does not have this function. If you change it in the environment variables, it would be strange to open it quietly and then add the plug-in and then close it = =...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing plug-in installation flow and the backend management controls; the issue names no source files or tests. Determine how administrator and ordinary-user permissions are handled, then define how preapproved plug-ins remain available while ordinary users cannot add new ones. Done means the restriction is enforced and its configuration or administration path is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.