
* [MM-54863] Add permissions manager UI in Edit Server modal, improve permission checks to be less missable * Removing this for E2E (which was having issues anyways) * PR feedback * Disable permissions dialog for current E2E tests * Fixed the dark mode CSS * Update icon
14 lines
373 B
TypeScript
14 lines
373 B
TypeScript
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import type {UniqueServer} from './config';
|
|
|
|
export type Permissions = {
|
|
[permission: string]: {
|
|
allowed: boolean;
|
|
alwaysDeny?: boolean;
|
|
};
|
|
};
|
|
|
|
export type UniqueServerWithPermissions = {server: UniqueServer; permissions: Permissions};
|