Исправление функционала повышения привилегий
All checks were successful
Pre-commit / pre-commit (push) Successful in 5m12s
Create Release / changelog (push) Successful in 3m8s

This commit is contained in:
2025-09-21 15:04:42 +03:00
parent 42f0d5e575
commit ef41d682a1
3 changed files with 99 additions and 59 deletions

View File

@@ -63,7 +63,7 @@ func BuildCmd() *cli.Command {
},
},
Action: func(c *cli.Context) error {
if err := utils.EnuseIsPrivilegedGroupMember(); err != nil {
if err := utils.CheckUserPrivileges(); err != nil {
return err
}