Issue #2867134 by joachim: Fixed flag checkboxes on entity edit form don't check access based on extra permissions.