-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support read-only publish service #11367
base: dev
Are you sure you want to change the base?
Conversation
casbin这个库对权限管理是否有帮助? |
目前没有多用户, 只需要基于角色的访问控制, 感觉用不太上👀 |
@88250
|
收到,打算放到特性版本 v3.1.0 中合并。 |
顺便检查一下 API 的鉴权中间件设置的是否合理, 因为没有逐项检查, 可能有不合理的地方 |
还有就是前端的设置面板与该功能相关的设置 API 可能需要之后由 @Vanessa219 实现一下 |
初步看了下,还缺失配置部分和用户指南文档,你后面有空的话先把这两部分补齐吧。 |
|
收到,改得有点多,审核会比较慢,谢谢。 |
那我先暂不解决合并冲突了, 因为出现得太频繁了, 等合并前再集中解决 |
明天发布 v3.0.16,发布后如果没有严重问题,后面的版本就是 v3.1.0 了。 |
REL: #11364
添加设置项 | Add setting items
siyuan.config.publish.enable
: 是否开启发布服务siyuan.config.publish.port
: 自定义发布服务端口, 设置为 0 则使用随机端口siyuan.config.publish.auth.enable
: 发布服务是否启用 BasicAuth 认证siyuan.config.publish.auth.accounts
: 发布服务 BasicAuth 认证账户列表已经过测试 | TESTED