mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 08:51:14 +10:00
frontend permissions
* rework backend workspace permissions
This commit is contained in:
@ -24,13 +24,10 @@ import { EditorBubbleMenu } from "@/features/editor/components/bubble-menu/bubbl
|
||||
|
||||
interface PageEditorProps {
|
||||
pageId: string;
|
||||
editable?: boolean;
|
||||
editable: boolean;
|
||||
}
|
||||
|
||||
export default function PageEditor({
|
||||
pageId,
|
||||
editable = true,
|
||||
}: PageEditorProps) {
|
||||
export default function PageEditor({ pageId, editable }: PageEditorProps) {
|
||||
const [token] = useAtom(authTokensAtom);
|
||||
const collaborationURL = useCollaborationUrl();
|
||||
const [currentUser] = useAtom(currentUserAtom);
|
||||
|
||||
Reference in New Issue
Block a user