Skip to content

Commit 6d227ed

Browse files
authored
Add list stream permission to all roles (#464)
This is useful for the console to list all streams but users will only still see the streams that they have access to.
1 parent e2032ab commit 6d227ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/rbac/role.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ pub mod model {
164164
actions: vec![
165165
Action::Ingest,
166166
Action::Query,
167+
Action::ListStream,
167168
Action::GetSchema,
168169
Action::GetStats,
169170
Action::GetRetention,
@@ -179,6 +180,7 @@ pub mod model {
179180
RoleBuilder {
180181
actions: vec![
181182
Action::Query,
183+
Action::ListStream,
182184
Action::GetSchema,
183185
Action::GetStats,
184186
Action::GetRetention,

0 commit comments

Comments
 (0)