gin-admin icon indicating copy to clipboard operation
gin-admin copied to clipboard

A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Casbin 2.0 + Wire DI.

Results 62 gin-admin issues
Sort by recently updated
recently updated
newest added

准备学习呢,发现: 权限控制,当用户只分配给了一个首页时,用户看到的界面就只有首页。但是用户手动输入/system/role的网址,可以进入角色管理 这算bug吗?有些疑惑 ![TIM截图20190710234133](https://user-images.githubusercontent.com/15045646/60983647-e842d400-a36c-11e9-877e-9d7bdd32c276.png)

可否改用https://github.com/swaggo/swag生成并展示文档?

b_user.go 文件 LoadPolicy这个方法的AddRoleForUser一直没有执行 item.Roles查出来是一个nil

我是go语言小白,请教,以下问题如何解决呢? 我用了goproxy.io 代理 ``` $ go build go: finding github.com/LyricTian latest go: finding github.com latest can't load package: package github.com/LyricTian/gin-admin: unknown import path "github.com/LyricTian/gin-admin": cannot find module providing package github.com/LyricTian/gin-dmin...

能把关于casbin 相关的Mysql数据库表结构和数据文件倒出来吗?非常感谢。

`ShouldBindJSON` 只能读取一次 `ShouldBindBodyWith` 可以重复读取 参考:https://github.com/gin-gonic/gin/issues/439#issuecomment-414648886

ERROR: column b.id does not exist (SQLSTATE 42703) [5.345ms] [rows:0] SELECT count(*) FROM logger AS a left join user b on a.user_id=b.id im using postgres [Logger] Debug = true Level...

类似下面这样 ```go // Cleanup is a function does cleanup works type Cleanup func() // Moduler is the interface that wraps the module's method. type Moduler interface { // Stringer indicates...