Closed
Milestone
Tie together wikis and circles
We decided to tie together circles and wikis for the moment.
Rationale is that we don't want circles and wiki folders to be owned by individual users. So as long as Nextcloud doesn't support "ownerless" objects, we decided to implement an internal workflow to fake them.
Creating a new wiki is supposed to do the following:
- create a secret(?) circle with the chosen name
- create a (hidden) user with some userId like
wiki_<name>_<uuid>
- make (hidden) user owner of the circle
- make the current user admin of the circle
- create a new folder
Wiki_<name>
(?) in the (hidden) users home directory - share this folder with the circle (read-write, no restrictions)
- store the folder <-> circle relationship in our database table
Circle admins should be able to add/remove users (and maybe modify their privilege level?) from circles.
Removing a wiki means:
- remove the folder share
- remove the circle
- remove the (hidden) user
We yet have to decide whether we want to allow adding wikis for existing circles.