Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Change the permission of a note #21

Open
yookoala opened this issue May 19, 2020 · 1 comment
Open

Feature Request: Change the permission of a note #21

yookoala opened this issue May 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@yookoala
Copy link

yookoala commented May 19, 2020

There is no easy way to change note's permission in mass. While I can mass import Markdown note with this CLI, I cannot seem to control the permission of those notes with CLI. And it is a painstakingly long process to do it one-by-one on the web GUI.

It would be great if there is a command like this:

hackmd-cli chmod [NOTEID] [[-r|--readable] [owner|login|everyone]] [[-w|--writable] [owner|login|everyone]]

Example,

$ hackmd-cli chmod some-note-id -r everyone -w login
Permission of your note https://hackmd.io/some-note-id has changed.
Readable: everyone
Writable: login
@Yukaii Yukaii added the enhancement New feature or request label May 20, 2020
@salim-b
Copy link

salim-b commented Jul 1, 2020

#17 seems related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants