This issue has been created
 
 
Mocca Calendar Application / cid:jira-generated-image-avatar-bfd5f543-9cb2-447b-bc68-d6efd64f93fa MOCCACAL-168 Open

WYSIWYG editor does not load when editing events if the user limited edit rights

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1760fb21-b75f-4aa8-95ea-607eaaaaf90f Clemens Robbenhaar created this issue on 21/Feb/25 16:05
 
Summary: WYSIWYG editor does not load when editing events if the user limited edit rights
Issue Type: cid:jira-generated-image-avatar-bfd5f543-9cb2-447b-bc68-d6efd64f93fa Bug
Affects Versions: 2.9.7
Assignee: Unassigned
Components: application
Created: 21/Feb/25 16:05
Priority: cid:jira-generated-image-static-major-6565330f-3960-453e-8c47-8ccaac1c2d22 Major
Reporter: Clemens Robbenhaar
Description:

If a user has only edit rights on some calendars, but not on the main calendar space, loading the WYSIWYG-Editor when editing events failes.

Steps to reproduce:

  1. remove edit rights to the "MoccaCalendar" space to the XWikiAllGroup
  2. grant edit rights e.g. to the "MoccaCalendar.OtherEvents" subcalendar to the "XWikiAllGroup"
  3. log in with a user without admin rights and go to the "MoccaCalendar" space
  4. click on an event to open the detail view
  5. click in the "Edit" button in the detail view to edit that event

Expected behavior:

  • Dialog shows edit view and the "Description" loades the WYSIWYG editor

Actual behavior :

  • Dialog shows edit view but the "Description" shows annotated HTML in a plain text area
  • User need to go to "Other Events" calendar, or to the detailed view of that event to edit events with the WYSIWYG editor