mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 12:34:22 +08:00
refactor(auth): 移除OAuth中的permission字段及相关逻辑
OAuth登录仅用于云服务,不再影响本地权限系统。移除相关字段和权限映射逻辑,简化代码结构。
This commit is contained in:
@@ -790,7 +790,6 @@ pub struct OAuthState {
|
||||
pub email: String,
|
||||
pub name: String,
|
||||
pub github_username: Option<String>,
|
||||
pub permission: u32,
|
||||
pub login_time: String,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user