diff --git a/internal/website/permstable/permstable.go b/internal/website/permstable/permstable.go index 17a01b7d24..02fe30061f 100644 --- a/internal/website/permstable/permstable.go +++ b/internal/website/permstable/permstable.go @@ -77,6 +77,8 @@ func main() { role, scope, session, + sessionRecording, + storageBucket, target, user, worker, @@ -741,6 +743,73 @@ var session = &Resource{ }, } +var sessionRecording = &Resource{ + Type: "Session Recording", + Scopes: iamScopes, + Endpoints: []*Endpoint{ + { + Path: "/session-recordings", + Params: map[string]string{ + "Type": "session-recording", + }, + Actions: []*Action{ + { + Name: "list", + Description: "List session recordings", + Examples: []string{ + "type=;actions=list", + }, + }, + }, + }, + { + Path: "/session-recordings/", + Params: map[string]string{ + "ID": "", + "Type": "session-recording", + }, + Actions: []*Action{ + { + Name: "read", + Description: "Read a session recording", + Examples: []string{ + "id=;actions=read", + }, + }, + { + Name: "download", + Description: "Download a session recording", + Examples: []string{ + "id=;actions=download", + }, + }, + }, + }, + }, +} + +var storageBucket = &Resource{ + Type: "Storage Bucket", + Scopes: iamScopes, + Endpoints: []*Endpoint{ + { + Path: "/storage-buckets", + Params: map[string]string{ + "Type": "storage-bucket", + }, + Actions: clActions("a storage bucket"), + }, + { + Path: "/storage-buckets/", + Params: map[string]string{ + "ID": "", + "Type": "storage-bucket", + }, + Actions: rudActions("a storage bucket", false), + }, + }, +} + var target = &Resource{ Type: "Target", Scopes: infraScope, diff --git a/website/content/docs/concepts/security/permissions/resource-table.mdx b/website/content/docs/concepts/security/permissions/resource-table.mdx index 1770d9e6fa..43d1a8da24 100644 --- a/website/content/docs/concepts/security/permissions/resource-table.mdx +++ b/website/content/docs/concepts/security/permissions/resource-table.mdx @@ -1205,6 +1205,172 @@ documentation](/boundary/api-docs) for guidance. + + Session Recording + +
    +
  • Global
  • +
  • Org
  • +
+ + + /session-recordings + + +
    +
  • Type
  • +
      +
    • + session-recording +
    • +
    +
+ + +
    +
  • + list: List session recordings +
  • +
      +
    • + type=<type>;actions=list +
    • +
    +
+ + + + + /session-recordings/<id> + + +
    +
  • ID
  • +
      +
    • + <id> +
    • +
    +
  • Type
  • +
      +
    • + session-recording +
    • +
    +
+ + +
    +
  • + read: Read a session recording +
  • +
      +
    • + id=<id>;actions=read +
    • +
    +
  • + download: Download a session recording +
  • +
      +
    • + id=<id>;actions=download +
    • +
    +
+ + + + Storage Bucket + +
    +
  • Global
  • +
  • Org
  • +
+ + + /storage-buckets + + +
    +
  • Type
  • +
      +
    • + storage-bucket +
    • +
    +
+ + +
    +
  • + create: Create a storage bucket +
  • +
      +
    • + type=<type>;actions=create +
    • +
    +
  • + list: List storage buckets +
  • +
      +
    • + type=<type>;actions=list +
    • +
    +
+ + + + + /storage-buckets/<id> + + +
    +
  • ID
  • +
      +
    • + <id> +
    • +
    +
  • Type
  • +
      +
    • + storage-bucket +
    • +
    +
+ + +
    +
  • + read: Read a storage bucket +
  • +
      +
    • + id=<id>;actions=read +
    • +
    +
  • + update: Update a storage bucket +
  • +
      +
    • + id=<id>;actions=update +
    • +
    +
  • + delete: Delete a storage bucket +
  • +
      +
    • + id=<id>;actions=delete +
    • +
    +
+ + Target