Closed rayedgar closed 2 years ago
I reinstalled 1.14 then the permissions worked, but it messed up all the calendar setting. and the calendar option in forms was empty. We really have a problem now since our admin needs through the permissions access.
Thanks for reporting! I was able to reproduce the bug and fix it for the next version (1.15.1)
Replace wp-content\plugins\booking-activities\model\model-templates.php line 902
if( $user_id < -1 ) { $user_id = get_current_user_id(); }
with
if( $user_id <= -1 ) { $user_id = get_current_user_id(); }
Thanks for the fix!
Hartelijke groet, Ray Edgar
On 1 Sep 2022, 15:19, at 15:19, yoancutillas @.***> wrote:
Thanks for reporting! I was able to reproduce the bug and fix it for the next version (1.15.1)
Replace wp-content\plugins\booking-activities\model\model-templates.php line 902
if( $user_id < -1 ) { $user_id = get_current_user_id(); }
withif( $user_id <= -1 ) { $user_id = get_current_user_id(); }
-- Reply to this email directly or view it on GitHub: https://github.com/bookingactivities/booking-activities/issues/162#issuecomment-1234271833 You are receiving this because you authored the thread.
Message ID: @.***>
HELP!! Permissions seem not be working with latest version 1.15
Users that are assigned in calendar editor don't have access any more after update.