Skip to content

[UI] Displaying elements based on user permissions in Twig #756

[UI] Displaying elements based on user permissions in Twig

[UI] Displaying elements based on user permissions in Twig #756

Triggered via pull request October 24, 2024 13:04
Status Failure
Total duration 43s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
prose
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L43
[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'Mautic' instead of 'mautic'. Raw Output: {"message": "[Vale.Terms] Use 'Mautic' instead of 'mautic'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 43, "column": 6}}}, "severity": "ERROR"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L54
[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'PHP' instead of 'php'. Raw Output: {"message": "[Vale.Terms] Use 'PHP' instead of 'php'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 54, "column": 47}}}, "severity": "ERROR"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L58
[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'PHP' instead of 'php'. Raw Output: {"message": "[Vale.Terms] Use 'PHP' instead of 'php'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 58, "column": 57}}}, "severity": "ERROR"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L59
[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'PHP' instead of 'php'. Raw Output: {"message": "[Vale.Terms] Use 'PHP' instead of 'php'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 59, "column": 60}}}, "severity": "ERROR"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L60
[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'PHP' instead of 'php'. Raw Output: {"message": "[Vale.Terms] Use 'PHP' instead of 'php'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 60, "column": 54}}}, "severity": "ERROR"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L69
[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'definePermissions'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'definePermissions'?", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 69, "column": 5}}}, "severity": "ERROR"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L70
[vale] reported by reviewdog 🐶 [Google.Latin] Use 'for example' instead of 'e.g.,'. Raw Output: {"message": "[Google.Latin] Use 'for example' instead of 'e.g.,'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 70, "column": 41}}}, "severity": "ERROR"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L71
[vale] reported by reviewdog 🐶 [Google.Latin] Use 'for example' instead of 'e.g.,'. Raw Output: {"message": "[Google.Latin] Use 'for example' instead of 'e.g.,'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 71, "column": 46}}}, "severity": "ERROR"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L73
[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'PHP' instead of 'php'. Raw Output: {"message": "[Vale.Terms] Use 'PHP' instead of 'php'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 73, "column": 37}}}, "severity": "ERROR"}
prose
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L4
[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 4, "column": 71}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L6
[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Role' instead of 'role'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Role' instead of 'role'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 6, "column": 97}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L11
[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 11, "column": 44}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L11
[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 11, "column": 169}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L11
[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('is granted'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('is granted').", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 11, "column": 265}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L21
[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('being checked'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('being checked').", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 21, "column": 75}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L23
[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'User' instead of 'user'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 23, "column": 14}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L26
[vale] reported by reviewdog 🐶 [Google.We] Try to avoid using first-person plural like 'Let's'. Raw Output: {"message": "[Google.We] Try to avoid using first-person plural like 'Let's'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 26, "column": 1}}}, "severity": "WARNING"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L26
[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Users' instead of 'users'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Users' instead of 'users'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 26, "column": 98}}}, "severity": "INFO"}
prose: docs/design/displaying_elements_based_on_user_permissions.rst#L26
[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Users' instead of 'users'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Users' instead of 'users'.", "location": {"path": "docs/design/displaying_elements_based_on_user_permissions.rst", "range": {"start": {"line": 26, "column": 157}}}, "severity": "INFO"}
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/