mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 04:07:43 +02:00
UBERF-5603 (#4754)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -57,6 +57,7 @@ import {
|
||||
hasResource,
|
||||
type KeyedAttribute
|
||||
} from '@hcengineering/presentation'
|
||||
import { type Restrictions } from '@hcengineering/guest'
|
||||
import {
|
||||
type AnyComponent,
|
||||
type AnySvelteComponent,
|
||||
@@ -1223,3 +1224,10 @@ export function getDocMixins (
|
||||
export function classIcon (client: Client, _class: Ref<Class<Obj>>): Asset | undefined {
|
||||
return client.getHierarchy().getClass(_class).icon
|
||||
}
|
||||
|
||||
export const restrictionStore = writable<Restrictions>({
|
||||
readonly: false,
|
||||
disableComments: false,
|
||||
disableNavigation: false,
|
||||
disableActions: false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user