Skip to content

Commit 7895672

Browse files
Updated transaction entry
1 parent a707415 commit 7895672

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

internal/types/transaction.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ type ACLEntry struct {
4343
/* e.g., "user", "group", "mask", "other" */
4444
EntityType string `json:"entityType"`
4545

46-
/* username, group name, or blank for "other"/"mask" */
46+
/*
47+
username, group name, or blank
48+
blank means it applies to the current owner/group (e.g., user::, group::, other::, mask::)
49+
*/
4750
Entity string `json:"entity"`
4851

4952
/* e.g., "rwx", "rw-", etc. */
@@ -52,6 +55,9 @@ type ACLEntry struct {
5255
/* e.g., "add", "modify", "remove" */
5356
Action string `json:"action"`
5457

58+
/* whether this is a default ACL (i.e., applies to new files/subdirs) */
59+
IsDefault bool `json:"isDefault"`
60+
5561
/* only set if failed */
5662
Error string `json:"error,omitempty"`
5763
Success bool `json:"success"`

0 commit comments

Comments
 (0)