Skip to content

Commit 209ec3c

Browse files
Tomas Kubovicjkralik
authored andcommitted
Bugfix AccessControl json id changed to aceid to match resource
1 parent fc6360a commit 209ec3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/acl/acl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type UpdateRequest struct {
4747

4848
// AccessControl defines permissions for one or more resources.
4949
type AccessControl struct {
50-
ID int `json:"id,omitempty"`
50+
ID int `json:"aceid,omitempty"`
5151
Permission Permission `json:"permission"`
5252
Resources []Resource `json:"resources"`
5353
Subject Subject `json:"subject"`

0 commit comments

Comments
 (0)