UBERF-5603 (#4754)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2024-02-23 15:39:49 +07:00
committed by GitHub
parent cc8a1d549a
commit ffc8d1dfac
184 changed files with 2755 additions and 561 deletions
+8
View File
@@ -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
})