From 77fd34be94411a013ae42640ea2c88020e161397 Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Fri, 3 Feb 2023 14:36:37 -0600 Subject: [PATCH] chore: Action consts should actually be typed as an Action (#6027) --- coderd/rbac/action.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/coderd/rbac/action.go b/coderd/rbac/action.go index 224047808e..a05814b2ec 100644 --- a/coderd/rbac/action.go +++ b/coderd/rbac/action.go @@ -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" )