From 9bd03a19615b82fb1b2412c73765205dd7289964 Mon Sep 17 00:00:00 2001 From: blackandred Date: Tue, 15 Feb 2022 08:52:38 +0100 Subject: [PATCH] feat: #164 fix typing --- server-go/security/entity.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server-go/security/entity.go b/server-go/security/entity.go index 957e9b70..ce935ad2 100644 --- a/server-go/security/entity.go +++ b/server-go/security/entity.go @@ -31,8 +31,8 @@ func (p Permissions) has(name string) bool { // type AccessControlObject struct { - UserName string `json:"userName"` - Roles []Permissions `json:"roles"` + UserName string `json:"userName"` + Roles Permissions `json:"roles"` } type AccessControlList []AccessControlObject