初始化

初始化项目
This commit is contained in:
truewhile
2026-08-23 22:12:32 +08:00
parent 0bcb1fec87
commit 71bf60c69c
631 changed files with 2121 additions and 76050 deletions
+4 -6
View File
@@ -40,9 +40,8 @@ func DefaultPermissions(userID string) *model.UserPermission {
CanRescrape: false,
CanUseAI: false,
CanCaptureFrames: false,
CanManageDownloads: false,
CanViewDiscover: false,
CanManageSubscriptions: false,
CanManageDownloads: false,
CanManageSubscriptions: false,
CanManageSites: false,
CanUseAIAssistant: false,
CanManageUsers: false,
@@ -66,9 +65,8 @@ func adminGrant(userID string) *model.UserPermission {
CanRescrape: true,
CanUseAI: true,
CanCaptureFrames: true,
CanManageDownloads: true,
CanViewDiscover: true,
CanManageSubscriptions: true,
CanManageDownloads: true,
CanManageSubscriptions: true,
CanManageSites: true,
CanUseAIAssistant: true,
CanManageUsers: true,