1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-08 15:06:08 +02:00
focalboard/server/app/permissions.go

10 lines
263 B
Go
Raw Normal View History

package app
import (
mm_model "github.com/mattermost/mattermost/server/public/model"
)
func (a *App) HasPermissionToBoard(userID, boardID string, permission *mm_model.Permission) bool {
return a.permissions.HasPermissionToBoard(userID, boardID, permission)
}