mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
3e5d99dedc
since the default code is using get_called_class, you can end up with \ in the class name which is an escape character for css selectors this update convert for example even valCMS_ACCESS_SilverStripe\VersionedAdmin\ArchiveAdmin to even valCMS_ACCESS_SilverStripe-VersionedAdmin-ArchiveAdmin ArchiveAdmin class should probably implement private static $required_permission_codes = 'CMS_ACCESS_ArchiveAdmin '; also