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 let identity = cookies().get("identity"); 51 if ( 52 identity?.value && 53 !res.data.permission_token_on_homepage.find( 54 (f) => f.identity === identity.value, 55 )
··· 50 let identity = cookies().get("identity"); 51 if ( 52 identity?.value && 53 + res.data.permission_token_rights.find((f) => f.write) && 54 !res.data.permission_token_on_homepage.find( 55 (f) => f.identity === identity.value, 56 )