mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 20:57:45 +02:00
EZQMS-729: Restrict spaces operations (#5500)
This commit is contained in:
@@ -266,6 +266,7 @@ export const actionTemplates = template({
|
||||
label: task.string.Archive,
|
||||
message: task.string.ArchiveConfirm
|
||||
},
|
||||
visibilityTester: view.function.CanArchiveSpace,
|
||||
input: 'any',
|
||||
category: task.category.Task,
|
||||
query: {
|
||||
@@ -288,6 +289,7 @@ export const actionTemplates = template({
|
||||
label: task.string.Unarchive,
|
||||
message: task.string.UnarchiveConfirm
|
||||
},
|
||||
visibilityTester: view.function.CanArchiveSpace,
|
||||
input: 'any',
|
||||
category: task.category.Task,
|
||||
query: {
|
||||
|
||||
@@ -48,6 +48,7 @@ import {
|
||||
taskId,
|
||||
type ProjectStatus
|
||||
} from '@hcengineering/task'
|
||||
|
||||
import task from './plugin'
|
||||
import { DOMAIN_TASK } from '.'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user