Skip to content

Commit

Permalink
Add list stream permission to all roles (#464)
Browse files Browse the repository at this point in the history
This is useful for the console to list all streams 
but users will only still see the streams that they have
access to.
  • Loading branch information
trueleo authored Aug 4, 2023
1 parent e2032ab commit 6d227ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/rbac/role.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ pub mod model {
actions: vec![
Action::Ingest,
Action::Query,
Action::ListStream,
Action::GetSchema,
Action::GetStats,
Action::GetRetention,
Expand All @@ -179,6 +180,7 @@ pub mod model {
RoleBuilder {
actions: vec![
Action::Query,
Action::ListStream,
Action::GetSchema,
Action::GetStats,
Action::GetRetention,
Expand Down

0 comments on commit 6d227ed

Please sign in to comment.