mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: remove organization_id suffix from org_member roles in database (#13473)
Organization member's table is already scoped to an organization. Rolename should avoid having the org_id appended. Wipes all existing organization role assignments, which should not be used anyway.
This commit is contained in:
Generated
+2
-1
@@ -977,7 +977,7 @@ export interface Response {
|
||||
// From codersdk/roles.go
|
||||
export interface Role {
|
||||
readonly name: string;
|
||||
readonly organization_id: string;
|
||||
readonly organization_id?: string;
|
||||
readonly display_name: string;
|
||||
readonly site_permissions: readonly Permission[];
|
||||
readonly organization_permissions: readonly Permission[];
|
||||
@@ -1030,6 +1030,7 @@ export interface SessionLifetime {
|
||||
export interface SlimRole {
|
||||
readonly name: string;
|
||||
readonly display_name: string;
|
||||
readonly organization_id?: string;
|
||||
}
|
||||
|
||||
// From codersdk/deployment.go
|
||||
|
||||
Reference in New Issue
Block a user