summaryrefslogtreecommitdiffstats
path: root/app/role.go
Commit message (Collapse)AuthorAgeFilesLines
* [MM-12606] Migrate to idiomatic error handling in the file `app/role.go` in ↵Mukul Rawat2018-10-131-17/+20
| | | | | the mattermost-server repo. (#9586) (#9593) * Refactor and make idiomatic changes in error handling
* MM-10233: Add scheme importing to bulk importer. (#8928)George Goldberg2018-06-211-0/+15
|
* MM-9730 & MM-9729: Missing Server PRs (#8908)George Goldberg2018-06-051-2/+22
| | | | | | * MM-9730: API endpoint to update scheme-derived roles of TeamMembers. * MM-9729: API to update scheme-derived roles of ChannelMembers.
* Structured logging (#8673)Christopher Speller2018-04-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* XYZ-37: Advanced Permissions Phase 1 Backend. (#8159)George Goldberg2018-02-061-8/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | * XYZ-13: Update Permission and Role structs to new design. * XYZ-10: Role store. * XYZ-9/XYZ-44: Roles API endpoints and WebSocket message. * XYZ-8: Switch server permissions checks to store backed roles. * XYZ-58: Proper validation of roles where required. * XYZ-11/XYZ-55: Migration to store backed roles from policy config. * XYZ-37: Update unit tests to work with database roles. * XYZ-56: Remove the "guest" role. * Changes to SetDefaultRolesFromConfig. * Short-circuit the store if nothing has changed. * Address first round of review comments. * Address second round of review comments.
* Role refactor (#7867)Chris2017-11-211-0/+19
* role refactor * add missing file * fix web test