Feature Request: Change the permission of a note
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- authorization, cli
Research direction
Start by reviewing the existing CLI path for mass Markdown note import and how note identifiers are handled. Then determine how the proposed chmod arguments map to HackMD permissions and verify the command's success output and readable/writable settings for owner, login, and everyone.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 176
- Forks
- 13
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hackmdio/hackmd-cli
-
Config command Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
hackmdio/hackmd-cli#45 · 2 comments ·
-
login problem Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
hackmdio/hackmd-cli#108 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
hackmdio/hackmd-cli#105 · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
hackmdio/hackmd-cli#89 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
hackmdio/hackmd-cli#87 ·
All issues in hackmdio/hackmd-cli
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vicharanashala/fln#563 ·