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:
Ramon
2026-02-19 06:21:01 +00:00
committed by GitHub
co-authored by Livio Spring
parent 6ad1ef859b
commit 369b468720
35 changed files with 201 additions and 199 deletions
@@ -65,7 +65,7 @@
</div>
<div class="info-wrapper">
<p class="info-row-title">{{ 'RESOURCEID' | translate }}</p>
<p class="info-row-title">{{ 'INSTANCEID' | translate }}</p>
<p *ngIf="instance?.id" class="info-row-desc">{{ instance.id }}</p>
</div>
@@ -122,7 +122,7 @@
</div>
<div class="info-wrapper">
<p class="info-row-title">{{ 'RESOURCEID' | translate }}</p>
<p class="info-row-title">{{ 'ORG.PAGES.ID' | translate }}</p>
<p *ngIf="org?.id" class="info-row-desc">{{ org.id }}</p>
</div>
@@ -172,7 +172,7 @@
</div>
<div class="info-wrapper">
<p class="info-row-title">{{ 'RESOURCEID' | translate }}</p>
<p class="info-row-title">{{ 'PROJECT.PAGES.ID' | translate }}</p>
<p *ngIf="project?.id" class="info-row-desc">{{ project.id }}</p>
</div>
@@ -207,7 +207,7 @@
</div>
<div class="info-wrapper">
<p class="info-row-title">{{ 'RESOURCEID' | translate }}</p>
<p class="info-row-title">{{ 'PROJECT.PAGES.ID' | translate }}</p>
<p *ngIf="grantedProject?.projectId" class="info-row-desc">{{ grantedProject.projectId }}</p>
</div>
@@ -306,37 +306,3 @@
</div>
</div>
</ng-container>
<div class="info-row" *ngIf="idp">
<div class="info-wrapper width">
<p class="info-row-title">{{ 'IDP.ID' | translate }}</p>
<p class="info-row-desc">
{{ idp.id }}
</p>
</div>
<div class="info-wrapper">
<p class="info-row-title">{{ 'IDP.DETAIL.DATECREATED' | translate }}</p>
<p class="info-row-desc" *ngIf="idp?.details?.creationDate as creationDate">
{{ creationDate | timestampToDate | localizedDate: 'dd. MMMM yyyy, HH:mm' }}
</p>
</div>
<div class="info-wrapper">
<p class="info-row-title">{{ 'IDP.DETAIL.DATECHANGED' | translate }}</p>
<p class="info-row-desc" *ngIf="idp?.details?.changeDate as changeDate">
{{ changeDate | timestampToDate | localizedDate: 'dd. MMMM yyyy, HH:mm' }}
</p>
</div>
<div class="info-wrapper">
<p class="info-row-title">{{ 'IDP.STATE' | translate }}</p>
<p
*ngIf="idp?.state"
class="state"
[ngClass]="{ active: idp.state === IDPState.IDP_STATE_ACTIVE, inactive: idp.state === IDPState.IDP_STATE_INACTIVE }"
>
{{ 'IDP.STATES.' + idp.state | translate }}
</p>
</div>
</div>
@@ -23,7 +23,6 @@ export class InfoRowComponent {
@Input() public org!: Org.AsObject | OrgV2 | OrgV1;
@Input() public instance!: InstanceDetail.AsObject;
@Input() public app!: App.AsObject;
@Input() public idp!: IDP.AsObject;
@Input() public project!: Project.AsObject;
@Input() public grantedProject!: GrantedProject.AsObject;
@Input() public loginPolicy?: LoginPolicy.AsObject | LoginPolicyV2;
@@ -32,7 +31,6 @@ export class InfoRowComponent {
public State = State;
public OrgState = OrgState;
public AppState = AppState;
public IDPState = IDPState;
public ProjectState = ProjectState;
public ProjectGrantState = ProjectGrantState;