Skip to content

Commit b93d3a1

Browse files
committed
generate auth on resource_monitor
1 parent ec52a8e commit b93d3a1

File tree

9 files changed

+407
-341
lines changed

9 files changed

+407
-341
lines changed

coderd/apidoc/docs.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/rbac/object_gen.go

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/rbac/policy/policy.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,4 +302,16 @@ var RBACPermissions = map[string]PermissionDefinition{
302302
ActionUpdate: actDef("update IdP sync settings"),
303303
},
304304
},
305+
"workspace_agent_volume_resource_monitor": {
306+
Actions: map[Action]ActionDefinition{
307+
ActionRead: actDef("read workspace agent volume resource monitor"),
308+
ActionCreate: actDef("create workspace agent volume resource monitor"),
309+
},
310+
},
311+
"workspace_agent_memory_resource_monitor": {
312+
Actions: map[Action]ActionDefinition{
313+
ActionRead: actDef("read workspace agent memory resource monitor"),
314+
ActionCreate: actDef("create workspace agent memory resource monitor"),
315+
},
316+
},
305317
}

codersdk/rbacresources_gen.go

Lines changed: 70 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy