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

moderator cannot change released charter #1067

Open GVogeler opened 2 years ago

GVogeler commented 2 years ago

Moderator has the menu item "edit charter" in the to-publish-view (https://www.monasterium.net/mom/charters-to-publish, see screenshot), but gets a warning that charter is private from EditMOM3, when using the slot. It think, it would makes sense that the moderator could ammend changes made by the user before publishing the document.

grafik

GVogeler commented 1 year ago

Authentication is done in https://github.com/icaruseu/mom-ca/blob/888a9a1e92fc62fbd02efc2feceab23b7d885dc9/my/XRX/src/mom/app/collection/widget/my-collection-charter-edit.widget.xml ? Adding a variable for the moderator to it and checking against it via https://github.com/icaruseu/mom-ca/blob/888a9a1e92fc62fbd02efc2feceab23b7d885dc9/my/XRX/src/mom/app/collection/widget/my-collection-charter-edit.widget.xml#L446 ? Oder adding the moderator by default to $is-shared (https://github.com/icaruseu/mom-ca/blob/888a9a1e92fc62fbd02efc2feceab23b7d885dc9/my/XRX/src/mom/app/collection/widget/my-collection-charter-edit.widget.xml#L66-L69) ?