Skip to content

Commit

Permalink
fix up some IAM comments (#5972)
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco authored Jun 28, 2024
1 parent e514bc8 commit 653964b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nexus/auth/src/authz/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
//! | | | +---------------+-----------+-------------+-------------+---+ |
//! | | | | resource_type | role_name | resource_id | identity_id |...| |
//! | | | +---------------+-----------+-------------+-------------+---+ |
//! | | | | "project " | "viewer" | 234 | 123|...| |
//! | | | | "project " | "viewer" | 123 | 234 |...| |
//! | | | +--^------------+--^--------+----------^--+-----------^-+---+ |
//! | | | | | | | |
//! +-|-|----+ | | +------------+
Expand Down
4 changes: 2 additions & 2 deletions nexus/types/src/external_api/views.rs
Original file line number Diff line number Diff line change
Expand Up @@ -870,8 +870,8 @@ pub struct Group {

/// View of a Built-in User
///
/// A Built-in User is explicitly created as opposed to being derived from an
/// Identify Provider.
/// Built-in users are identities internal to the system, used when the control
/// plane performs actions autonomously
#[derive(ObjectIdentity, Clone, Debug, Deserialize, Serialize, JsonSchema)]
pub struct UserBuiltin {
// TODO-correctness is flattening here (and in all the other types) the
Expand Down
2 changes: 1 addition & 1 deletion openapi/nexus.json
Original file line number Diff line number Diff line change
Expand Up @@ -19826,7 +19826,7 @@
]
},
"UserBuiltin": {
"description": "View of a Built-in User\n\nA Built-in User is explicitly created as opposed to being derived from an Identify Provider.",
"description": "View of a Built-in User\n\nBuilt-in users are identities internal to the system, used when the control plane performs actions autonomously",
"type": "object",
"properties": {
"description": {
Expand Down

0 comments on commit 653964b

Please sign in to comment.