-
Notifications
You must be signed in to change notification settings - Fork 7
MIR-1352 Use mycore text editor for editing xml documents #1059
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2025.06.x
Are you sure you want to change the base?
MIR-1352 Use mycore text editor for editing xml documents #1059
Conversation
@@ -40,7 +40,7 @@ | |||
<when condition="(group = admin) or (group = editor)" url="/servlets/MCRLockServlet?url=/editor/editor-admins.xed" /> | |||
</action> | |||
<action action="update-xml"> | |||
<when condition="(group = admin)" url="/servlets/MCRLockServlet?url=/editor/editor-xml.xed" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D.h. das Objekt wird dann nicht mehr gelockt und kann somit gleichzeitig bearbeitet werden?
... ausserdem sollten wir dringend eine ACL auf die URL setzen um die Bearbeitung durch nicht-Admins zu vermeiden
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACL bringt da nichts. Wenn man die URL als Nichtadmin aufruft, sieht man nur das XML, kann es aber nicht bearbeiten.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gerade geprüft, das MCRLockServlet hat auch bei der alten Variante keinen Effekt 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doch, das hat einen Effekt und sollte daher auch weiter funktionieren.
5b38cf0
to
ed3ad7e
Compare
ed3ad7e
to
e07989c
Compare
Da es sich doch deutlich anders verhalten wird als bisher, schlagen wir ein rebase auf main vor |
MIR-1352