Since last update to 5.26 in error log: You do not have the appropriate permissions

Hello, @dominikde

I noticed that the warn_metrics API endpoint was added in Mattermost 5.26:

  • Added GET api/v4/warn_metrics/status API endpoint to get the status of a set of metrics (enabled or disabled) from the Systems table.
  • Added POST api/v4/warn_metrics/ack/:warn_metric_id API endpoint to acknowldge a warning for the warn_metric_id metric crossing a threshold (or some similar condition being fulfilled).

While the error might not cause any issues with Mattermost for now, I will go through the team to understand it better. You mentioned “after login or opening the web front” but the sentence seems incomplete. Can you please provide more details on the steps to reproduce so I can see if it is also replicable on my end? Thanks.