From c2ea00a63005bfbfc409058a9523f8b5c00c0e0b Mon Sep 17 00:00:00 2001 From: Nitish Tiwari Date: Thu, 26 Oct 2023 14:03:09 +0530 Subject: [PATCH] Update ingest privilege to ingestor This is inline with other pricileges --- server/src/rbac/role.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/rbac/role.rs b/server/src/rbac/role.rs index 18194e9e7..0b8f70f52 100644 --- a/server/src/rbac/role.rs +++ b/server/src/rbac/role.rs @@ -124,8 +124,8 @@ pub mod model { Admin, Editor, Writer { stream: String }, + Ingester { stream: String }, Reader { stream: String, tag: Option }, - Ingest { stream: String }, } impl From<&DefaultPrivilege> for RoleBuilder { @@ -143,7 +143,7 @@ pub mod model { } reader } - DefaultPrivilege::Ingest { stream } => { + DefaultPrivilege::Ingester { stream } => { ingest_perm_builder().with_stream(stream.to_owned()) } }