humhub / calendar

Create one-time or recurring events, invite and manage attendees, and keep track of all your events with the Calendar module.
28 stars 46 forks source link

Hide the profile calendar if the module is not available for users #437

Closed marc-farre closed 9 months ago

marc-farre commented 9 months ago

On Humhub 1.16, it is possible to set modules as "Not available": image

But even if selected, when creating a new event in the global calendar, the "Profile calendar" is shown: image

Related issues: https://github.com/humhub/calendar/issues/223 https://github.com/humhub/calendar/issues/196

marc-farre commented 9 months ago

@luke- PR https://github.com/humhub/calendar/pull/438

If the module is disabled in all user's spaces, I added this warning: image

luke- commented 9 months ago

@Semir1212 Can you please take a look into this?

egyfeny commented 5 months ago

I made calendar not available for users. Opening the settings of global calendar view, opens dialog to open module twice and then forward to a default error page. I guess this could be optimized. image image image image