Skip to content

Commit a60efab

Browse files
authored
Updated reader privilege (#106)
- We have removed the stream tag option hence updating the test to reflect that
1 parent 052aaad commit a60efab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ func RoleWriter(stream string) string {
466466
}
467467

468468
func RoleReader(stream string) string {
469-
return fmt.Sprintf(`[{"privilege": "reader", "resource": {"stream": "%s", "tag": null}}]`, stream)
469+
return fmt.Sprintf(`[{"privilege": "reader", "resource": {"stream": "%s"}}]`, stream)
470470
}
471471

472472
func Roleingestor(stream string) string {

0 commit comments

Comments
 (0)