FIX Fix link for managing roles (#11178)

This commit is contained in:
Guy Sartorelli 2024-03-21 12:49:10 +13:00 committed by GitHub
parent e68af4de40
commit 8aab888d50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -234,8 +234,8 @@ class Group extends DataObject
) . '<br />' .
sprintf(
'<a href="%s" class="add-role">%s</a>',
SecurityAdmin::singleton()->Link('show/root#Root_Roles'),
_t('SilverStripe\\Security\\Group.RolesAddEditLink', 'Manage roles')
SecurityAdmin::singleton()->Link('roles'),
_t(__CLASS__ . '.RolesAddEditLink', 'Manage roles')
) .
"</p>"
)