Combines the following repositories into one: https://github.com/mattermost/mattermost-server https://github.com/mattermost/mattermost-webapp https://github.com/mattermost/focalboard https://github.com/mattermost/mattermost-plugin-playbooks
13 строки
372 B
Go
13 строки
372 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package app
|
|
|
|
import (
|
|
mm_model "github.com/mattermost/mattermost-server/v6/model"
|
|
)
|
|
|
|
func (a *App) HasPermissionToBoard(userID, boardID string, permission *mm_model.Permission) bool {
|
|
return a.permissions.HasPermissionToBoard(userID, boardID, permission)
|
|
}
|