mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
10 lines
259 B
Go
10 lines
259 B
Go
|
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)
|
||
|
}
|