diff options
author | George Goldberg <george@gberg.me> | 2017-01-25 13:12:04 +0000 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-01-25 08:12:04 -0500 |
commit | a930eef71dc398fff8ce1a7fdffec8522b9c34f9 (patch) | |
tree | ef445b0077110bbf0ade543319c5d2869262c7a3 /app/brand.go | |
parent | ca3e6e38e39ff899af20c57e5c447a850662405f (diff) | |
download | chat-a930eef71dc398fff8ce1a7fdffec8522b9c34f9.tar.gz chat-a930eef71dc398fff8ce1a7fdffec8522b9c34f9.tar.bz2 chat-a930eef71dc398fff8ce1a7fdffec8522b9c34f9.zip |
PLT-4858: Allow system admin to delete all channels. (#5180)
The app-package refactor means that the check for a Channel Member
object before allowing to delete the channel is now redundant, as the
check is already carried out by using HasPermissionToChannel() on the
user requesting it. As a result, System Admins can now delete channels
through the API even if they aren't members.
Diffstat (limited to 'app/brand.go')
0 files changed, 0 insertions, 0 deletions