From 3cba5051018810dd4af7165a097f9108135e78ec Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Tue, 8 Nov 2022 17:32:50 -0700 Subject: [PATCH] return minimum role from mattermostauthlayer functions (#4182) --- .../services/store/mattermostauthlayer/mattermostauthlayer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/services/store/mattermostauthlayer/mattermostauthlayer.go b/server/services/store/mattermostauthlayer/mattermostauthlayer.go index b038a0aad..35e74e9f4 100644 --- a/server/services/store/mattermostauthlayer/mattermostauthlayer.go +++ b/server/services/store/mattermostauthlayer/mattermostauthlayer.go @@ -607,6 +607,7 @@ func boardFields(prefix string) []string { "COALESCE(created_by, '')", "modified_by", "type", + "minimum_role", "title", "description", "icon", @@ -801,6 +802,7 @@ func (s *MattermostAuthLayer) boardsFromRows(rows *sql.Rows) ([]*model.Board, er &board.CreatedBy, &board.ModifiedBy, &board.Type, + &board.MinimumRole, &board.Title, &board.Description, &board.Icon,