Skip to content

Commit

Permalink
Update ingest privilege to ingester (parseablehq#544)
Browse files Browse the repository at this point in the history
This is inline with other privileges like reader, writer.
  • Loading branch information
nitisht authored Oct 26, 2023
1 parent e7b15c1 commit 1ae8ef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/rbac/role.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ pub mod model {
Admin,
Editor,
Writer { stream: String },
Ingester { stream: String },
Reader { stream: String, tag: Option<String> },
Ingest { stream: String },
}

impl From<&DefaultPrivilege> for RoleBuilder {
Expand All @@ -143,7 +143,7 @@ pub mod model {
}
reader
}
DefaultPrivilege::Ingest { stream } => {
DefaultPrivilege::Ingester { stream } => {
ingest_perm_builder().with_stream(stream.to_owned())
}
}
Expand Down

0 comments on commit 1ae8ef8

Please sign in to comment.