[GH-ISSUE #137] Feature Request: User-Rights-Management #98

Closed
opened 2026-02-25 23:33:26 +03:00 by kerem · 2 comments
Owner

Originally created by @demlak on GitHub (Jun 15, 2019).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/137

Would be nice to allow specific users "only adding" but not editing.
and/or allow only editing of own bookmarks but not from others.

Originally created by @demlak on GitHub (Jun 15, 2019). Original GitHub issue: https://github.com/go-shiori/shiori/issues/137 Would be nice to allow specific users "only adding" but not editing. and/or allow only editing of own bookmarks but not from others.
kerem closed this issue 2026-02-25 23:33:26 +03:00
Author
Owner

@RadhiFadlillah commented on GitHub (Aug 27, 2019):

Hi @demlak

With ramadhan branch merged, now Shiori has a simple user right management. However, it's not exactly as you want.

In your case, there are two point that you want :

  1. User can only modify bookmarks that he created himself.
  2. User has separate access level for viewing, adding and editing;

For number one, unfortunately I can't do it without rewriting huge part of code. Shiori at first was intended as CLI app, which make it actually designed to be used by only one person per system.

For number two, I wasn't able to separate the level between add and edit. Sure I can do it, but it need a lot of code which IMHO too much for such little thing. Instead, I combine add and edit into one category, i.e. write operation.

Right now, I made Shiori has two level of account: owner and visitor. As its name implies, owner is the owner who can add, edit or delete (all write operations) while visitor can only read and see. This is the easiest middle ground that I can do for now.

multi-account-level

With that saidd, I will close this issue for now. Feel free to reopen it if you think it's needed.

<!-- gh-comment-id:525340036 --> @RadhiFadlillah commented on GitHub (Aug 27, 2019): Hi @demlak With `ramadhan` branch merged, now Shiori has a simple user right management. However, it's not exactly as you want. In your case, there are two point that you want : 1. User can only modify bookmarks that he created himself. 2. User has separate access level for viewing, adding and editing; For number one, unfortunately I can't do it without rewriting huge part of code. Shiori at first was intended as CLI app, which make it actually designed to be used by only one person per system. For number two, I wasn't able to separate the level between add and edit. Sure I can do it, but it need a lot of code which IMHO too much for such little thing. Instead, I combine add and edit into one category, i.e. write operation. Right now, I made Shiori has two level of account: **owner** and **visitor**. As its name implies, owner is the owner who can add, edit or delete (all write operations) while visitor can only read and see. This is the easiest middle ground that I can do for now. ![multi-account-level](https://user-images.githubusercontent.com/6129042/63782357-7c64fc80-c915-11e9-9967-9aaa295753db.png) With that saidd, I will close this issue for now. Feel free to reopen it if you think it's needed.
Author
Owner

@demlak commented on GitHub (Aug 27, 2019):

Hey.. thx for this start in user-rights-management.
Since this is only a start, i think, the issue should be held open =)

<!-- gh-comment-id:525375627 --> @demlak commented on GitHub (Aug 27, 2019): Hey.. thx for this start in user-rights-management. Since this is only a start, i think, the issue should be held open =)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#98
No description provided.