mirror of
https://github.com/veops/oneterm.git
synced 2025-10-10 01:31:36 +08:00
feat(backend): Add Node authorization V2 support with auto-migration
This commit is contained in:
@@ -93,7 +93,7 @@ func (c *Controller) GetNodes(ctx *gin.Context) {
|
||||
|
||||
// Apply info mode settings
|
||||
if info {
|
||||
db = db.Select("id", "parent_id", "name")
|
||||
db = db.Select("id", "parent_id", "name", "authorization")
|
||||
}
|
||||
|
||||
if recursive {
|
||||
|
Reference in New Issue
Block a user