We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b15c1 commit 1ae8ef8Copy full SHA for 1ae8ef8
server/src/rbac/role.rs
@@ -124,8 +124,8 @@ pub mod model {
124
Admin,
125
Editor,
126
Writer { stream: String },
127
+ Ingester { stream: String },
128
Reader { stream: String, tag: Option<String> },
- Ingest { stream: String },
129
}
130
131
impl From<&DefaultPrivilege> for RoleBuilder {
@@ -143,7 +143,7 @@ pub mod model {
143
144
reader
145
146
- DefaultPrivilege::Ingest { stream } => {
+ DefaultPrivilege::Ingester { stream } => {
147
ingest_perm_builder().with_stream(stream.to_owned())
148
149
0 commit comments