hackmdio / hackmdio/codimd

Bulk change permissions

Open
#1,486 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I have a CodiMD instance that was created allowing anonymous users to create and edit notes freely. Now that the event that we set this up for has completed, we'd like to make everything read-only. I've set CMD_ALLOW_ANONYMOUS=false, CMD_ALLOW_ANONYMOUS_EDITS=false, CMD_ALLOW_ANONYMOUS_VIEWS=true and CMD_DEFAULT_PERMISSION=locked. This works great for (attempts to create) new notes, but it does nothing for notes that are set to Freely.

I'd like (even as a database hack) a way to change the permissinons to Locked or Editable for all existing notes. I can't find anything in the documentation or elsewhere, it seems.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.