Skip to content

Commit 77fd34b

Browse files
authored
chore: Action consts should actually be typed as an Action (#6027)
1 parent b359dbb commit 77fd34b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

coderd/rbac/action.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ package rbac
44
type Action string
55

66
const (
7-
ActionCreate = "create"
8-
ActionRead = "read"
9-
ActionUpdate = "update"
10-
ActionDelete = "delete"
7+
ActionCreate Action = "create"
8+
ActionRead Action = "read"
9+
ActionUpdate Action = "update"
10+
ActionDelete Action = "delete"
1111
)

0 commit comments

Comments
 (0)