mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
chore: consistent naming for object ids (#11604)
<!-- Please inform yourself about the contribution guidelines on submitting a PR here: https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr. Take note of how PR/commit titles should be written and replace the template texts in the sections below. Don't remove any of the sections. It is important that the commit history clearly shows what is changed and why. Important: By submitting a contribution you agree to the terms from our Licensing Policy as described here: https://github.com/zitadel/zitadel/blob/main/LICENSING.md#community-contributions. --> # Which Problems Are Solved As part of the consistent naming effort, this PR focuses on Resource ID's. # How the Problems Are Solved Renamed generic Resource ID to matching Object + ID such as - Organization ID - User ID - Application ID - Identity Provider ID - Instance ID - Project ID # Additional Changes None # Additional Context - Closes #11306 --------- Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
@@ -3494,7 +3494,6 @@ message HumanMFAInitSkippedResponse {
|
||||
}
|
||||
|
||||
message AddSecretRequest {
|
||||
// The users resource ID.
|
||||
string user_id = 1 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
@@ -3521,7 +3520,6 @@ message AddSecretResponse {
|
||||
}
|
||||
|
||||
message RemoveSecretRequest {
|
||||
// The users resource ID.
|
||||
string user_id = 1 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
@@ -3540,7 +3538,6 @@ message RemoveSecretResponse {
|
||||
}
|
||||
|
||||
message AddKeyRequest {
|
||||
// The users resource ID.
|
||||
string user_id = 1 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
@@ -3583,7 +3580,6 @@ message AddKeyResponse {
|
||||
|
||||
|
||||
message RemoveKeyRequest {
|
||||
// The users resource ID.
|
||||
string user_id = 1 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
@@ -3635,7 +3631,6 @@ message ListKeysResponse {
|
||||
}
|
||||
|
||||
message AddPersonalAccessTokenRequest {
|
||||
// The users resource ID.
|
||||
string user_id = 1 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
@@ -3675,7 +3670,6 @@ message AddPersonalAccessTokenResponse {
|
||||
}
|
||||
|
||||
message RemovePersonalAccessTokenRequest {
|
||||
// The users resource ID.
|
||||
string user_id = 1 [
|
||||
(validate.rules).string = {min_len: 1, max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
|
||||
Reference in New Issue
Block a user