mirror of https://github.com/coder/coder.git
chore: Action consts should actually be typed as an Action (#6027)
This commit is contained in:
parent
b359dbbd8b
commit
77fd34be94
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue