Skip to content

[5.x]: Missing CP route for myaccount/permissions in Team edition #14976

@AugustMiller

Description

@AugustMiller

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

  1. Install Craft;
  2. Begin a Team edition trial;
  3. Navigate to Users → [Your User];
  4. 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions