Issue Bug Closed

#95467linkvalidator: Under certain circumstances, only broken links in elements of default language are displayed for non-admin users

Sybille Peters 10/04/21, 16:17 updated 10/04/22, 14:12

Description

This is a problem of the EditableRestriction which checks if records / fields are editable by the current user. Only broken links for editable records are displayed.

Reproduce

1. For the BE user / group, do not check any languages in “Access lists” > “Limit to languages” ([allowed_languages]. All checkboxes are unchecked which means the editor has access to all languages
2. Create a translation page. Add broken links to elements in the translation.
3. Now check links
4. Compare results for admin and the non-admin user

The non-admin user should also see the broken links in the translated elements. However, he does not

see brofix

This was already detected and fixed in brofix: https://github.com/sypets/brofix/pull/93

Reviews 2