Closed AugustMiller closed 6 months ago
When using the Team edition, URLs to your own user element/account work (admin/myaccount), but admin/myaccount/permissions results in a 404.
admin/myaccount
admin/myaccount/permissions
This line covers normal user routes like admin/users/1/permissions, but not the special myaccount path:
admin/users/1/permissions
myaccount
https://github.com/craftcms/cms/blob/6a13d279272e81fec9cd919aba58c497a2febd78/src/config/cproutes/team.php#L8
The base routes presumably don't include this static/non-parameterized route because Solo edition doesn't use the Permissions tab at all!
5.1.2 (Team)
8.2
No response
Thanks August! I raised a PR for this.
Fixed in 5.1.3!
What happened?
Description
When using the Team edition, URLs to your own user element/account work (
admin/myaccount
), butadmin/myaccount/permissions
results in a 404.Steps to reproduce
This line covers normal user routes like
admin/users/1/permissions
, but not the specialmyaccount
path:https://github.com/craftcms/cms/blob/6a13d279272e81fec9cd919aba58c497a2febd78/src/config/cproutes/team.php#L8
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