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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

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