mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-21 13:38:56 +02:00
f88ee1ece3
* initial commit for channel permissions * add test * check for write post when returning channels * lint fix * fix test --------- Co-authored-by: Mattermost Build <build@mattermost.com>
26 lines
1.6 KiB
Go
26 lines
1.6 KiB
Go
package model
|
|
|
|
import (
|
|
mmModel "github.com/mattermost/mattermost-server/v6/model"
|
|
)
|
|
|
|
var (
|
|
PermissionViewTeam = mmModel.PermissionViewTeam
|
|
PermissionManageTeam = mmModel.PermissionManageTeam
|
|
PermissionManageSystem = mmModel.PermissionManageSystem
|
|
PermissionReadChannel = mmModel.PermissionReadChannel
|
|
PermissionCreatePost = mmModel.PermissionCreatePost
|
|
PermissionViewMembers = mmModel.PermissionViewMembers
|
|
PermissionCreatePublicChannel = mmModel.PermissionCreatePublicChannel
|
|
PermissionCreatePrivateChannel = mmModel.PermissionCreatePrivateChannel
|
|
PermissionManageBoardType = &mmModel.Permission{Id: "manage_board_type", Name: "", Description: "", Scope: ""}
|
|
PermissionDeleteBoard = &mmModel.Permission{Id: "delete_board", Name: "", Description: "", Scope: ""}
|
|
PermissionViewBoard = &mmModel.Permission{Id: "view_board", Name: "", Description: "", Scope: ""}
|
|
PermissionManageBoardRoles = &mmModel.Permission{Id: "manage_board_roles", Name: "", Description: "", Scope: ""}
|
|
PermissionShareBoard = &mmModel.Permission{Id: "share_board", Name: "", Description: "", Scope: ""}
|
|
PermissionManageBoardCards = &mmModel.Permission{Id: "manage_board_cards", Name: "", Description: "", Scope: ""}
|
|
PermissionManageBoardProperties = &mmModel.Permission{Id: "manage_board_properties", Name: "", Description: "", Scope: ""}
|
|
PermissionCommentBoardCards = &mmModel.Permission{Id: "comment_board_cards", Name: "", Description: "", Scope: ""}
|
|
PermissionDeleteOthersComments = &mmModel.Permission{Id: "delete_others_comments", Name: "", Description: "", Scope: ""}
|
|
)
|