mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: add aibridge database resources & define RBAC policies (#19796)
Closes https://github.com/coder/internal/issues/986
This commit is contained in:
@@ -15,6 +15,15 @@ var (
|
||||
Type: "*",
|
||||
}
|
||||
|
||||
// ResourceAibridgeInterception
|
||||
// Valid Actions
|
||||
// - "ActionCreate" :: create aibridge interceptions & related records
|
||||
// - "ActionRead" :: read aibridge interceptions & related records
|
||||
// - "ActionUpdate" :: update aibridge interceptions & related records
|
||||
ResourceAibridgeInterception = Object{
|
||||
Type: "aibridge_interception",
|
||||
}
|
||||
|
||||
// ResourceApiKey
|
||||
// Valid Actions
|
||||
// - "ActionCreate" :: create an api key
|
||||
@@ -391,6 +400,7 @@ var (
|
||||
func AllResources() []Objecter {
|
||||
return []Objecter{
|
||||
ResourceWildcard,
|
||||
ResourceAibridgeInterception,
|
||||
ResourceApiKey,
|
||||
ResourceAssignOrgRole,
|
||||
ResourceAssignRole,
|
||||
|
||||
Reference in New Issue
Block a user