a tool for shared writing and social publishing

only add docs you have write access to to homepage

+1
+1
app/[doc_id]/page.tsx
··· 50 50 let identity = cookies().get("identity"); 51 51 if ( 52 52 identity?.value && 53 + res.data.permission_token_rights.find((f) => f.write) && 53 54 !res.data.permission_token_on_homepage.find( 54 55 (f) => f.identity === identity.value, 55 56 )