-
Notifications
You must be signed in to change notification settings - Fork 87
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
考虑将syncMode的权限进行拆分实现更细颗粒的控制? #412
Comments
或者新增一个配置项控制是否允许手动创建同步任务,让 |
同步任务的执行使用单独的配置项 |
🎉 This issue has been resolved in version 3.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
目前syncMode不仅仅是控制是否创建
schedule
进行更新的配置项,同时也是是否能创建同步任务的配置项。即如果syncMode为none的情况下虽然不会自动创建同步任务也无法通过sync的接口手动创建同步任务了。
拆分后syncMode仅影响
schedule
的创建,enableSync
的值应该由独立的配置项控制,可以在不主动开启定时任务的情况下手动创建特定的同步任务。这项修改也是为了之后创建同步指定版本任务的功能,在syncMode是none的情况下可以通过开启
enableSync
手动同步指定版本。在syncMode是all或者exist时同步指定版本意义不大。The text was updated successfully, but these errors were encountered: