Skip to content

'Redirect to Structure on login' setting applies to all users, so Role-specific 'Default CP homepage' doesn't work #5418

Open

Description

@red-sea-studio

Description of the problem
The desire is to have SuperAdmin users redirect to Structure on login, but have a separate Role go somewhere else on login. Currently I don't see a way to do this.

Image Image

With this setup, all users are redirected to Structure on login regardless of the role-specific 'Default CP homepage' setting. I can turn 'Redirect to Structure on login' off in the Structure Module settings to address the non-SuperAmin Roles, but I can't set a specific 'Default CP homepage' for the SuperAdmin role anywhere - you only get that option for the other roles since the SuperAdmin role as no "CP Access" tab (see /admin.php?/cp/members/roles/edit/1 in any build).

I'm not sure the best solution here. Options that could work from my viewpoint are:

  • update Structure to allow 'Redirect to Structure on login' apply to only certain roles (leaving other roles to inherit from the Role setting)
  • update SuperAdmin role to be able to specify 'Default CP homepage' separately (leaving Structure setting off)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions