Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
feat: #164 fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Feb 15, 2022
1 parent d5c9328 commit 9bd03a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server-go/security/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9bd03a1

Please sign in to comment.