-
Bug
-
Resolution: Fixed
-
Major
-
1.0.0
-
None
I have no right to add a new calendar.
But the button "New calendar" is available. When validating the dialog box, an error is displayed (and the error does not inform me that I have no sufficient right)
In logs
Caused by: java.lang.IllegalAccessException: User 'UserIdentity [login=admin, population=ametys_demo_users]' tried to access a privilege feature without convenient right [Plugin_Explorer_Calendar_Add, /resources/calendars] at org.ametys.plugins.explorer.resources.actions.ExplorerResourcesDAO.checkUserRight(ExplorerResourcesDAO.java:465) at org.ametys.plugins.explorer.calendars.actions.CalendarDAO.addCalendar(CalendarDAO.java:546) at org.ametys.intranet.calendars.CalendarManager.addCalendar(CalendarManager.java:427) ... 125 more