Closed (outdated)
Project:
Pathauto
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 May 2022 at 07:54 UTC
Updated:
10 Feb 2026 at 09:50 UTC
Jump to comment: Most recent
Comments
Comment #3
nvakenNot sure why these tests failed, queued a retest.
Comment #4
berdirThey fail because the test don't have that permission, so they don't work anymore.
I'm not really sure why this is needed.
The widget already checks for the existing core permission to create url aliases. See \Drupal\path\Plugin\Field\FieldType\PathFieldItemList::defaultAccess. If a user doesn't have them, the widget isn't shown at all but pathauto still works. You don't see anything, but with those permission, this is pointless, as users can just go and manually alter aliases.
Comment #5
nvakenHm... you might be right Berdir, I'll be reviewing our use case and get back here.
Comment #6
mably commented