worklog edit permission logic fix