mirror of
https://github.com/veops/oneterm.git
synced 2025-10-21 06:19:35 +08:00
feat(api): permission
This commit is contained in:
@@ -159,5 +159,5 @@ func (c *Controller) GetGateways(ctx *gin.Context) {
|
||||
|
||||
db = db.Order("name")
|
||||
|
||||
doGet(ctx, !info, db, acl.GetResourceTypeName(conf.RESOURCE_GATEWAY), gatewayPostHooks...)
|
||||
doGet(ctx, !info, db, conf.RESOURCE_GATEWAY, gatewayPostHooks...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user