Commit 999b1bd
committed
chore: rename IdentityProvider to UserIdentity for clarity
Rename IdentityProvider types to UserIdentity to better reflect that
these resources represent a user's identity within an external provider
(e.g., GitHub, Google), not the identity provider itself.
Changes:
- Rename IdentityProvider → UserIdentity
- Rename IdentityProviderStatus → UserIdentityStatus
- Rename IdentityProviderList → UserIdentityList
- Rename file: identityprovider_types.go → useridentity_types.go
- Update resource permissions in iam-user-self-manage role:
- identity.miloapis.com/identityproviders.* → useridentities.*
- Add comprehensive documentation explaining:
- What UserIdentity represents (user's linked identity, not the provider)
- Use cases (UI display, federated identity visibility)
- Important notes (read-only, no sensitive data exposed)
- Update type registration in register.go
- Regenerate deepcopy and OpenAPI definitions
This change improves semantic clarity and addresses feedback that the
original naming was confusing about whether it represented the provider
service or the user's identity within that provider.1 parent 379db53 commit 999b1bd
File tree
6 files changed
+166
-126
lines changed- config/roles
- pkg/apis/identity/v1alpha1
6 files changed
+166
-126
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments