feat(coderd/rbac): make organization-member a per-org system custom role (#21359)

Migrated the built-in organization-member role to DB storage so it can be customized per org.

Closes https://github.com/coder/internal/issues/1073 (part 1)
This commit is contained in:
George K
2026-01-12 18:19:19 -08:00
committed by GitHub
parent 2b448c7178
commit cc2efe9e1f
46 changed files with 1845 additions and 438 deletions
+3 -3
View File
@@ -3349,8 +3349,8 @@ const docTemplate = `{
"tags": [
"Members"
],
"summary": "Upsert a custom organization role",
"operationId": "upsert-a-custom-organization-role",
"summary": "Update a custom organization role",
"operationId": "update-a-custom-organization-role",
"parameters": [
{
"type": "string",
@@ -3361,7 +3361,7 @@ const docTemplate = `{
"required": true
},
{
"description": "Upsert role request",
"description": "Update role request",
"name": "request",
"in": "body",
"required": true,