mirror of
https://github.com/datarhei/core.git
synced 2025-11-03 02:23:42 +08:00
Remove fmt.Printf
This commit is contained in:
@@ -99,7 +99,6 @@ func (am *access) ListPolicies(username, domain, resource, actions string) [][]s
|
||||
|
||||
func (am *access) HasGroup(name string) bool {
|
||||
groups := am.adapter.getAllGroups()
|
||||
fmt.Printf("groups: %+v\n", groups)
|
||||
|
||||
for _, g := range groups {
|
||||
if g == name {
|
||||
|
||||
Reference in New Issue
Block a user