mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-09-19 17:50:13 +00:00
User Role (#69)
* fix: window.DisableAnimatedMan as boolean * chore: auto-fix linting and formatting issues * feat: user role * feat: use user agent_secret * feat: hide setting when user role is not admin * feat: new waf api * chore: auto-fix linting and formatting issues * fix: admin settings page * feat: online-user setting * fix: pagination --------- Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
co-authored by
hamster1963
parent
5ad915c973
commit
7fdac38291
@@ -16,3 +16,10 @@ export const wafBlockReasons: Record<number, string> = {
|
||||
2: i18n.t("BruteForceAttackingToken"),
|
||||
3: i18n.t("BruteForceAttackingAgentSecret"),
|
||||
}
|
||||
|
||||
export const wafBlockIdentifiers: Record<number, string> = {
|
||||
"-127": i18n.t("GrpcAuthFailed"),
|
||||
"-126": i18n.t("APITokenInvalid"),
|
||||
"-125": i18n.t("UserInvalid"),
|
||||
"-124": i18n.t("BlockByUser"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user