feat: user roles (#852)

* [WIP] feat: user roles

* update

* update

* admin handler

* update

* feat: user-specific connection secret

* simplify some logics

* cleanup

* update waf

* update user api error handling

* update waf api

* fix codeql

* update waf table

* fix several problems

* add pagination for waf api

* update permission checks

* switch to runtime check

* 1

* cover?

* some changes
This commit is contained in:
UUBulb
2024-12-22 00:05:41 +08:00
committed by GitHub
parent 50ee62172f
commit 653d0cf2e9
35 changed files with 841 additions and 180 deletions

4
go.mod
View File

@@ -1,8 +1,8 @@
module github.com/nezhahq/nezha
go 1.22.7
go 1.23.0
toolchain go1.23.1
toolchain go1.23.2
require (
github.com/appleboy/gin-jwt/v2 v2.10.0