restricts marking group leave if user is only allowed to mark own leave