Activity log for bug #1959122

Date Who What changed Old value New value Message
2022-01-26 16:57:58 Giuseppe Petralia bug added bug
2022-01-26 16:59:06 Giuseppe Petralia description Charm creates a nagios user to be used by nrpe checks and assigns to hit the following permissions: g.user_permissions_set( NAGIOS_USERNAME, [ "users:tokenlist", "users:tokencreate", "indexercluster:read", "indices:failures", "notifications:read", "journal:read", ], ) But user permissions are deprecated and it should use role instead. When you click on nagios user on Graylog Web UI you get and error message: “Setting individual permissions is deprecated, please consider migrating to roles instead” Charm creates a nagios user to be used by nrpe checks and assigns to hit the following permissions:     g.user_permissions_set(         NAGIOS_USERNAME,         [             "users:tokenlist",             "users:tokencreate",             "indexercluster:read",             "indices:failures",             "notifications:read",             "journal:read",         ],     ) But user permissions are deprecated and it should use role instead. When you click on nagios user on Graylog Web UI you get an error message:  “Setting individual permissions is deprecated, please consider migrating to roles instead”