What happened?
Description
When using the Team edition, URLs to your own user element/account work (admin/myaccount), but admin/myaccount/permissions results in a 404.
Steps to reproduce
- Install Craft;
- Begin a Team edition trial;
- Navigate to Users → [Your User];
- Click Permissions in the sidebar;
This line covers normal user routes like admin/users/1/permissions, but not the special myaccount path:
|
'users/<userId:\d+>/permissions' => 'users/permissions', |
The base routes presumably don't include this static/non-parameterized route because Solo edition doesn't use the Permissions tab at all!
Craft CMS version
5.1.2 (Team)
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response
What happened?
Description
When using the Team edition, URLs to your own user element/account work (
admin/myaccount), butadmin/myaccount/permissionsresults in a 404.Steps to reproduce
This line covers normal user routes like
admin/users/1/permissions, but not the specialmyaccountpath:cms/src/config/cproutes/team.php
Line 8 in 6a13d27
The base routes presumably don't include this static/non-parameterized route because Solo edition doesn't use the Permissions tab at all!
Craft CMS version
5.1.2 (Team)
PHP version
8.2
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
No response