return minimum role from mattermostauthlayer functions (#4182)

This commit is contained in:
Scott Bishel 2022-11-08 17:32:50 -07:00 committed by GitHub
parent 696a1f3202
commit 3cba505101
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -607,6 +607,7 @@ func boardFields(prefix string) []string {
"COALESCE(created_by, '')", "COALESCE(created_by, '')",
"modified_by", "modified_by",
"type", "type",
"minimum_role",
"title", "title",
"description", "description",
"icon", "icon",
@ -801,6 +802,7 @@ func (s *MattermostAuthLayer) boardsFromRows(rows *sql.Rows) ([]*model.Board, er
&board.CreatedBy, &board.CreatedBy,
&board.ModifiedBy, &board.ModifiedBy,
&board.Type, &board.Type,
&board.MinimumRole,
&board.Title, &board.Title,
&board.Description, &board.Description,
&board.Icon, &board.Icon,