mirror of
https://github.com/mattermost/mattermost.git
synced 2026-04-15 22:12:19 -04:00
Attribute Based Access Control - Base * MM-63662 * MM-63919 * MM-63954 * MM-63955 * MM-63425 * MM-63426 * MM-63458 * MM-63459 * MM-63603 * MM-63845 * MM-64146 * MM-64199 * MM-64201 * MM-64233 * MM-64247 * MM-64268 --------- Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com> Co-authored-by: Pablo Andrés Vélez Vidal <pablovv2012@gmail.com> Co-authored-by: abhijit-singh <abhijitsingh0702@gmail.com> Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
27 lines
1.5 KiB
Go
27 lines
1.5 KiB
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package model
|
|
|
|
const ChannelSearchDefaultLimit = 50
|
|
|
|
type ChannelSearch struct {
|
|
Term string `json:"term"`
|
|
ExcludeDefaultChannels bool `json:"exclude_default_channels"`
|
|
NotAssociatedToGroup string `json:"not_associated_to_group"`
|
|
TeamIds []string `json:"team_ids"`
|
|
GroupConstrained bool `json:"group_constrained"`
|
|
ExcludeGroupConstrained bool `json:"exclude_group_constrained"`
|
|
ExcludePolicyConstrained bool `json:"exclude_policy_constrained"`
|
|
Public bool `json:"public"`
|
|
Private bool `json:"private"`
|
|
IncludeDeleted bool `json:"include_deleted"`
|
|
IncludeSearchById bool `json:"include_search_by_id"`
|
|
ExcludeRemote bool `json:"exclude_remote"`
|
|
Deleted bool `json:"deleted"`
|
|
Page *int `json:"page,omitempty"`
|
|
PerPage *int `json:"per_page,omitempty"`
|
|
AccessControlPolicyEnforced bool `json:"access_control_policy_enforced"`
|
|
ExcludeAccessControlPolicyEnforced bool `json:"exclude_access_control_policy_enforced"`
|
|
ParentAccessControlPolicyId string `json:"parent_access_control_policy_id"`
|
|
}
|