Sorry, we don't support your browser.  Install a modern browser
This post is closed.

User blueprint: option for default panel page after login#10

The default panel page after login is panel/site. But if I create a user role that can’t actually edit anything there, that doesn’t make much sense.

For example, I’m building a site where some users can only edit their own account. But the account page is hidden in the menu. It would make more sense to redirect them to panel/account instead. Or if I make a user role that can only edit a specific page, I’d want to take them straight to that specific page in the panel.

The only workaround currently is to give the user to url to the page where you want to direct them since they would then automatically go there after login, but that means different login urls for different roles which is only going to confuse my clients.

It would be nice if we had a user blueprint option where we could define this, for example:

defaultPanel: panel/account

Maybe this is an edge case, would love to hear other opinions.

4 years ago

Have You tried to accomplish this with a user.login:after hook?

4 years ago

I would like to see options for different “panel home pages” based on role so they can have a dashboard catered for them to manage “their” content.

4 years ago

@Cris unfortunately this is not possible. You cannot trigger redirects in hooks.

4 years ago

@Mail that would be the deluxe version in my opinion as well!

4 years ago
1

Oh, thanks for clarifying @Bastian!

4 years ago
?

…or at least to be able to have different panel (site.yml) settings for different roles.

3 years ago
Merged Redirect target option after login#182
2 years ago
Changed the status to
In progress
2 years ago
1
Changed the status to
In upcoming releases
2 years ago
Changed the status to
Completed
2 years ago