docs: update naming on authorizations requests to role assignments (#11850)

# Which Problems Are Solved

API Requests in the docs, still had old naming

# How the Problems Are Solved

Updated Authorization Reuqest naming in docs with role assignments
This commit is contained in:
Fabienne Bühler
2026-03-19 09:45:21 +01:00
committed by GitHub
parent ca4bba3992
commit a592fd7293
2 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -959,7 +959,7 @@ export const apisSidebar: readonly SidebarItem[] = [
{ type: "category", label: "Instance", items: ["reference/api/instance"] }, { type: "category", label: "Instance", items: ["reference/api/instance"] },
{ type: "category", label: "Project", items: ["reference/api/project"] }, { type: "category", label: "Project", items: ["reference/api/project"] },
{ type: "category", label: "Application", items: ["reference/api/application"] }, { type: "category", label: "Application", items: ["reference/api/application"] },
{ type: "category", label: "Role Assignments", items: ["reference/api/authorization"] }, { type: "category", label: "Role Assignment", items: ["reference/api/authorization"] },
{ type: "category", label: "ZITADEL Internal Permissions", items: ["reference/api/internal_permission"] }, { type: "category", label: "ZITADEL Internal Permissions", items: ["reference/api/internal_permission"] },
], ],
}, },
@@ -14,20 +14,20 @@ import "zitadel/filter/v2/filter.proto";
option go_package = "github.com/zitadel/zitadel/pkg/grpc/authorization/v2;authorization"; option go_package = "github.com/zitadel/zitadel/pkg/grpc/authorization/v2;authorization";
// AuthorizationService provides methods to manage authorizations for users within your projects and applications.
//
// Note: We have streamlined our naming conventions to improve clarity. Authorization in this context refers to role assignments, not to OAuth authorization. // Note: We have streamlined our naming conventions to improve clarity. Authorization in this context refers to role assignments, not to OAuth authorization.
// //
// AuthorizationService provides methods to manage authorizations for users within your projects and applications.
//
// For managing permissions and roles for Zitadel internal resources, like organizations, projects, // For managing permissions and roles for Zitadel internal resources, like organizations, projects,
// users, etc., please use the InternalPermissionService. // users, etc., please use the InternalPermissionService.
service AuthorizationService { service AuthorizationService {
// List Authorizations // List Role Assignment
//
// ListAuthorizations returns all authorizations matching the request and necessary permissions.
// //
// Note: Authorization in this context refers to role assignments, not to OAuth authorization. // Note: Authorization in this context refers to role assignments, not to OAuth authorization.
// //
// ListAuthorizations returns all authorizations matching the request and necessary permissions.
//
// Required permissions: // Required permissions:
// - "user.grant.read" // - "user.grant.read"
// - no permissions required for listing own authorizations // - no permissions required for listing own authorizations
@@ -39,12 +39,12 @@ service AuthorizationService {
}; };
} }
// Create Authorization // Create Role Assignment
//
// CreateAuthorization creates a new authorization for a user in an owned or granted project.
// //
// Note: Authorization in this context refers to role assignments, not to OAuth authorization. // Note: Authorization in this context refers to role assignments, not to OAuth authorization.
// //
// CreateAuthorization creates a new authorization for a user in an owned or granted project.
//
// Required permissions: // Required permissions:
// - "user.grant.write" // - "user.grant.write"
rpc CreateAuthorization(CreateAuthorizationRequest) returns (CreateAuthorizationResponse) { rpc CreateAuthorization(CreateAuthorizationRequest) returns (CreateAuthorizationResponse) {
@@ -55,12 +55,12 @@ service AuthorizationService {
}; };
} }
// Update Authorization // Update Role Assignments
//
// UpdateAuthorization updates the authorization.
// //
// Note: Authorization in this context refers to role assignments, not to OAuth authorization. // Note: Authorization in this context refers to role assignments, not to OAuth authorization.
// //
// UpdateAuthorization updates the authorization.
//
// Note that any role keys previously granted to the user and not present in the request will be revoked. // Note that any role keys previously granted to the user and not present in the request will be revoked.
// //
// Required permissions: // Required permissions:
@@ -73,12 +73,12 @@ service AuthorizationService {
}; };
} }
// Delete Authorization // Delete Role Assignment
//
// DeleteAuthorization deletes the authorization.
// //
// Note: Authorization in this context refers to role assignments, not to OAuth authorization. // Note: Authorization in this context refers to role assignments, not to OAuth authorization.
// //
// DeleteAuthorization deletes the authorization.
//
// In case the authorization is not found, the request will return a successful response as // In case the authorization is not found, the request will return a successful response as
// the desired state is already achieved. // the desired state is already achieved.
// You can check the deletion date in the response to verify if the authorization was deleted by the request. // You can check the deletion date in the response to verify if the authorization was deleted by the request.
@@ -93,12 +93,12 @@ service AuthorizationService {
}; };
} }
// Activate Authorization // Activate Role Assignment
//
// ActivateAuthorization activates an existing but inactive authorization.
// //
// Note: Authorization in this context refers to role assignments, not to OAuth authorization. // Note: Authorization in this context refers to role assignments, not to OAuth authorization.
// //
// ActivateAuthorization activates an existing but inactive authorization.
//
// In case the authorization is already active, the request will return a successful response as // In case the authorization is already active, the request will return a successful response as
// the desired state is already achieved. // the desired state is already achieved.
// You can check the change date in the response to verify if the authorization was activated by the request. // You can check the change date in the response to verify if the authorization was activated by the request.
@@ -113,7 +113,7 @@ service AuthorizationService {
}; };
} }
// Deactivate Authorization // Deactivate Role Assignment
// //
// DeactivateAuthorization deactivates an existing and active authorization. // DeactivateAuthorization deactivates an existing and active authorization.
// //