Summary
I am currently writing a custom server plugin. I’ve updated the configuration struct to add a url string
field, and I added a setting in plugin.json
with a matching key
.
Steps to reproduce
Clone GitHub - mattermost/mattermost-plugin-starter-template: Build scripts and templates for writing Mattermost plugins., then add a string field to the configuration as well as setting in plugin.json. Then make deploy
to a Mattermost instance. Note that the value can be set in the plugin settings, but calls to plugin.getConfiguration().newValue are always empty.
This seems related to System Console Plugin Settings - #5 by agriesser
Observed Behavior
I noted that each time I attempted to set the plugin config value via the system console UI, I would get the following error:
2025-02-12 14:08:59 {"timestamp":"2025-02-12 20:08:59.577 Z","level":"warn","msg":"Unrecognized config permissions tag value.","caller":"api4/config.go:442","path":"/api/v4/config/patch","request_id":"rbwjquomk3n6ubpihejfmkookc","ip_addr":"172.17.0.1","user_id":"ke4yxq9f3in9f8opnw6b6ziyec","method":"PUT","tag_value":"sysconsole_write_*_read"}