I need to suppress the Publish or Un-publish buttons, and looking at the code in com_eventbooking\themes\events\default.php file it looks like there is a configuration value set to control it - canChangeEventStatus.
Is this a general configuration setting, or set on a each event? Is this a permission settting that can be applied to a group?
It's permission setting. You can look at code the method canChangeEventStatus in the file components/com_eventbooking/helper/acl.php to understand the logic:
- Users with super admin permission can edit every events
- For other users they can only edit it the event if:
+ They are the creator of the event
+ They belong to a user group which is having edit state permission
(Go to Events Booking -> Configuration, click on Options button in the toolbar to change permission settings if you want)