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

This commit is contained in:
Steven Masley
2023-02-03 14:36:37 -06:00
committed by GitHub
parent b359dbbd8b
commit 77fd34be94

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"
)