chore: Action consts should actually be typed as an Action (#6027)

This commit is contained in:
Steven Masley
2023-02-03 20:36:37 +00:00
committed by GitHub
parent b359dbbd8b
commit 77fd34be94
+4 -4
View File
@@ -4,8 +4,8 @@ package rbac
type Action string
const (
ActionCreate = "create"
ActionRead = "read"
ActionUpdate = "update"
ActionDelete = "delete"
ActionCreate Action = "create"
ActionRead Action = "read"
ActionUpdate Action = "update"
ActionDelete Action = "delete"
)