codimd icon indicating copy to clipboard operation
codimd copied to clipboard

Enhance the permission management features

Open WillGoGithub opened this issue 6 years ago • 2 comments
trafficstars

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

WillGoGithub avatar Aug 21 '19 06:08 WillGoGithub

Has this already been done?

mz83ude avatar Apr 30 '20 11:04 mz83ude

Would love to see that. Aswell as private notes to collaborate as a Team

EzxD avatar Apr 23 '21 08:04 EzxD