* [MM-68393] Tighten protected role patch authorization (#36197) * [MM-68393] Tighten protected role patch authorization Harden role patch authorization for protected system roles and cover the restricted paths with focused API tests. Made-with: Cursor * [MM-68393] Fix role patch test shadowing Rename shadowing response variables in the protected role patch tests so govet passes in core and enterprise check-style jobs. Made-with: Cursor * [MM-68393] Block privileged role permissions Made-with: Cursor (cherry picked from commit 99b73d4c4acf5ff3546c2548a5aaa804c2aa1b04) * Fix role patch tests for release-10.11 context and LoginSystemManager APIs Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Nick Misasi <nick.misasi@mattermost.com> Co-authored-by: Cursor <cursoragent@cursor.com>
14 KiB
14 KiB