aquatix / digimarks

Simple bookmarking service
Apache License 2.0
20 stars 2 forks source link

Allow for better access control #9

Open aquatix opened 7 years ago

aquatix commented 7 years ago

By changing to a url scheme of:

https://marks.example.com/[bookmarkpageID]/ https://marks.example.com/[bookmarkpageID]/[secretkey1] https://marks.example.com/[bookmarkpageID]/[secretkey2]

one can allow for sharing bookmark 'accounts' read-only and giving select people secret keys to be able to add and edit bookmarks (and tags).

mingoes commented 7 years ago

Maybe i should add that my idea is to have 2 types of permissions for the secret key. An "admin" secret key and an "edit-only" secret key. Where there is only 1 admin key and it can manage the edit-only keys (and maybe some other admin exclusive stuff)