summaryrefslogtreecommitdiffstats
path: root/model/security_bulletin_test.go
diff options
context:
space:
mode:
authorHarshil Sharma <harshil.sharma@joshtechnologygroup.com>2018-10-05 14:26:01 +0000
committerGeorge Goldberg <george@gberg.me>2018-10-05 15:26:01 +0100
commitee1700d6b2453fd2b4aaf236123ec383cbbdff8b (patch)
treed704187af3b84a35b2a35d5d306094061a069ae1 /model/security_bulletin_test.go
parent69e10651c97c7d7b30aa69a0155c8d3293e2b9bd (diff)
downloadchat-ee1700d6b2453fd2b4aaf236123ec383cbbdff8b.tar.gz
chat-ee1700d6b2453fd2b4aaf236123ec383cbbdff8b.tar.bz2
chat-ee1700d6b2453fd2b4aaf236123ec383cbbdff8b.zip
#MM-12130 Added permission check for createServiceTerms API (#9556)
* #MM-12130 changes for custom service terms * Fixed styling * Added getServiceTerms API * removed unnecessary panic * removed custom service terms text from flat config * reverted user sql store as those changes are no longer needed * added tests * Updated a config key to be more standard * Added copyright info * Loading service terms only if the feature is enabled * Loading service terms only if the feature is enabled * removed unused index * added createservice termns API * made a param to bool instead of string * added createservice termns API * review fixes * fixed styling * Minor refactoring * removed saveConfig and loadConfig magic * added empty service terms text check to createServiceTerms API * refactoed some urls to be terms_of_service instead of service_terms * removed check for support settings * changed URLs in tests * removed unused code * fixed a bug * added service termd id in conif * fixed a test * review fixes * minor fixes * Fixed TestCreateServiceTerms * Fix incorrect key in en.json and changes some translations from service terms to terms of service * Improved translated messages * Added permission check in createServiceTerms API
Diffstat (limited to 'model/security_bulletin_test.go')
0 files changed, 0 insertions, 0 deletions