Files
mostlymatter/model/bot_test.go
jfrerich 0cae57a6cd [MM-16146] When converting a bot to a user, set the role to system_user (#11361)
* when converting a bot to a user, set the role to system_user

* correct govet shadow error

* Change from inline error checking and fix shadow error

* Add SYSTEM_USER_ROLE_ID to the bot user model instead of updating the
role after the bot user is created

* modify UserFromBot test to include Roles field
2019-06-28 07:41:14 -07:00

14 KiB