frontend permissions

* rework backend workspace permissions
This commit is contained in:
Philipinho
2024-06-03 02:54:12 +01:00
parent b88e0b605f
commit 886d9591fa
54 changed files with 715 additions and 385 deletions

View File

@ -11,6 +11,7 @@ export interface FullEditorProps {
slugId: string;
title: string;
spaceSlug: string;
editable: boolean;
}
export function FullEditor({
@ -18,6 +19,7 @@ export function FullEditor({
title,
slugId,
spaceSlug,
editable,
}: FullEditorProps) {
return (
<div className={classes.editor}>
@ -26,8 +28,9 @@ export function FullEditor({
slugId={slugId}
title={title}
spaceSlug={spaceSlug}
editable={editable}
/>
<MemoizedPageEditor pageId={pageId} />
<MemoizedPageEditor pageId={pageId} editable={editable} />
</div>
);
}