Permission Role for Outputs not working

i created a Role with the permissions for the Output
Like that one (the original i use has all permissions without the User Authentication:


I can see the Output menue under System, but if i click on it, i’m getting an error.
Any Ideas?


What error do you get when clicking on the “Outputs” menu item?

You can try using the permission stream_outputs:create (without the trailing :*).


i’m getting this error:

Could not load outputs
Loading outputs failed with status: Error: cannot GET (403)

Also when i have the permission like this:

      "name": "Moderator",
      "description": null,
      "permissions": [
      "read_only": false

The /system/outputs/available resource currently requires the user to have the streams:read permission.

Follow up:

Thanks, that was the missing permission.
But with that one, i can see and access all Streams without giving a permission to them.

I want to make a a permission set, where someone can only see a his Stream an can do only a ouput on this.
Would this work?

I don’t know this out of my head, you’d have to try it out yourself or check the respective code locations.

i think there is a permission issue.
I have a role and a user without any read or edit rights for a stream.
If i set the “streams:read” permission by the role, the user can see and join every stream.
So if i need the “streams:read” permission for the Outputs, i give that role access to any stream.
can you confirm that?

Yes, that’s correct (as of Graylog 2.3.1).

So If i set the permission like this “streams:read:59b138fb2f969905ddecb310”, then is the Outputs not working again.
Could it be, that it will changed in further Versions? more granular?
Thanks again

Correct, because the required permission is streams:read, not streams:read:{id} or streams:read:*.

Yes, please subscribe to the aforementioned GitHub issues for updates.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.