Graylog 7.1 - Missing Permissions while try to reach System / Cluster Configuration

Graylog 7.1 - Try to click on the Menu: System / Cluster Configuration

Following error occurs - (HTML-Site):

The permissions check for the following request failed,
while trying to access /system/cluster.
There was an error fetching a resource: . Additional information: Permission denied when executing command on MongoDB node ‘127.0.0.1:27017’. Please ensure the MongoDB user has the required privileges.

2. Describe your environment:

  • OS Information: Archlinux

  • Package Version: Graylog 7.1

  • Service logs, configurations, and environment variables:

May 05 20:57:25 vml120 java[110128]: 2026-05-05 20:57:25,122 ERROR: org.graylog2.cluster.nodes.mongodb.MongodbClusterCommand - Permission denied when executing command on MongoDB node '127.0.0.1:27017'. The MongoDB user may lack required privileges.
May 05 20:57:25 vml120 java[110128]: com.mongodb.MongoCommandException: Command execution failed on MongoDB server with error 13 (Unauthorized): 'not authorized on graylog to execute command { profile: -1, $db: "graylog", lsid: { id: UUID("c832845f-3759-4fb7-b56c-61443c3466a6") } }' on server 127.0.0.1:27017. The full response is {"ok": 0.0, "errmsg": "not authorized on graylog to execute command { profile: -1, $db: \"graylog\", lsid: { id: UUID(\"c832845f-3759-4fb7-b56c-61443c3466a6\") } }", "code": 13, "codeName": "Unauthorized"}

Greetings
Klaus.

Hi,

my solution for this probem was:

test> use graylog
switched to db graylog
graylog> db.grantRolesToUser("grayloguser", [{ role: "clusterMonitor", db: "admin" }])
{ ok: 1 }

Now, I can access System / Cluster Configuration

Greetings
Klaus.