hackmdio / hackmdio/codimd

Enhance the permission management features

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

Description

Hi everyone! Thanks for your amazing work ;)

If CodiMD could support advanced permission features will be more powerful.

The concept for example:

**+ System role - Admin**

* Can maintain all of the note created by any owner (No matter what access permission is)
* Admin is able to read/write the content or assign/remove owners
* When first account login, let it auto become the admin (Email/AD)
* Admin can set multiple users as admin or remove them (Not includes self)

Or just use the config file to announce the admin account (Separate by comma). That may let implementaion simpler.

---

**+ Note role**

Even the access permission is private, the note role is beyond it.

| Note role | Ability |
|:--------------:| ---
|Owner | Is able to read/write the content or assign/remove owners to a note.
|Writer | Assigned by admin or note owner through the account. Can read/write the content only.
|Viewer | Assigned by admin or note owner through the account. Only can read the content.

The permissions of note role:

Role | Create | Read | Write | Delete | Assign | *Remark |
-------|:------:|:----:|:------:|:------:|:------:| ------ |
Admin | ✔ | ✔ | ✔ | ✔ | ✔ | All of notes
Owner | ✔ | ✔ | ✔ | ✔ | ✔ | Own by self
Writer | - | ✔ | ✔ | ✖ | ✖ |
Viewer | - | ✔ | ✖ | ✖ | ✖ |

You guys are awesome!

---
The following issues might be related:

> #12 - Group or Workspace
> #35 - Support permission of invitee only
> #272 - Add user administration
> #507 - Feature request: advanced sharing options
> #1174 - Permit multiple owners of a note
> #1203 - Permissions - Editable
> #1322 - Feature Request: Use whitelist to filter user
> #1387 - Does codimd have a global administrator

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.