dynamicweb / DynamicWeb

Make feature requests for Dynamicweb in Issues section of this repository
https://doc.dynamicweb.dev/documentation/fundamentals/support/feature-requests.html
GNU General Public License v3.0
1 stars 0 forks source link

Redirect user to start page in Swift #58

Open dwlhs opened 1 month ago

dwlhs commented 1 month ago

Hi :)

For users and groups there is an option to redirect them to a specific page when they log in:

image

In the Swift login template we also observe this setting:

image

I the form it seems that we

image

But apparently, this field has been removed form the item type, so the value will always be false, and then we always send a redirect URL, and this the redirect setting on users and groups will not be effective:

image

Can we have the field back, so that we can leverage the standard redirect functionality?

nicped commented 2 weeks ago

This is a bug

I think it has been removed from Swift because the login feature should take care of this - and not Swift it self. There are some major changes in DW10 in relation to how redirects work in general (due to changes to .net)

Can you by the elaborate on what you use the field for - do different users have different start pages?

dwlhs commented 2 weeks ago

We don't use the field as we want to rely on the start pages on users/groups. But if it was removed, so we can control the start pages in User Management, I guess line 61-63 should also just be removed.

Yes, different users have different start pages. E.g., customers should be redirected to the shop frontpage or their dashboard page, and sales people should be redirected to the list of customers they can impersonate.

Br. Lars