icaruseu / mom-ca

Monasterium.net (http://www.monasterium.net/mom) - repository and collaborative archive
https://github.com/icaruseu/mom-ca/wiki
GNU General Public License v3.0
17 stars 11 forks source link

refactor authentication system #587

Open GVogeler opened 7 years ago

GVogeler commented 7 years ago

(follow-up to #556 comment ) The authorisation system needs a major refactoring, which distinguishes clearly between:

Currently MOM-CA tests for eXist-collection-structure, atom:author, and xrx:userid in '*.charter.share.xml'.

This should allow separating single documents from the eXist-collection structure.

GVogeler commented 7 years ago

I don't see any need to keep the access rights in a separate document to the charter document itself, so I would suggest to move the infomation from *.share.xml into the charter-xml and add a rights section describing indiviual rights there.