feat: add scoped cookie operations for support

This commit is contained in:
yml2213
2026-08-13 16:17:06 +08:00
parent cf3fe68de3
commit 47ded2bc3e
15 changed files with 806 additions and 14 deletions
+2
View File
@@ -23,6 +23,7 @@ PERMISSIONS = {
"login:view_assigned": "查看自己账号的登录任务",
# Cookie
"cookie:view": "查看 Cookie",
"cookie:operate": "检测/重登已分配账号 Cookie(不含查看)",
"cookie:export": "导出 Cookie",
# 斗鱼活动
"douyu:task": "斗鱼任务管理",
@@ -88,6 +89,7 @@ ROLE_PERMISSIONS = {
],
"support": [
"account:view_assigned",
"cookie:operate",
"douyu:task",
"yyb:session",
"yyb:history",