Стояла задача маршрутизировать пользователей, кого в агентский интерфейс, кого в сервисный портал. Для этого были разработаны специальные правила.
Эти правила релевантны роли. Пусть пользователи с ролью сервис оунер попадают вот сюда (указывает ссылку).
Создадим новое правило, по которому пользователи, у которых нет ролей, попадали на сервисный портал (/sp)
Отрицательный приоритет!
You can redirect users to one or another category or item, depending on their role or set of roles. This functionality allows for configuring flexible access separation.
...
Field | Description |
---|---|
Redirect URL | Relative path to redirect when the user has logged in successfully. For example, "/list/user", or "/record/sys_service_portal" |
Priority | URL priority (if more than one URLs for one role are specified, then the highest priority URL will be used). |
Role | Select the role for which you need to set up redirect rule. If no you do not specify the role selected, then the redirect rule this rule will process users without the role. |
Tip |
---|
|
...
|
...
|
...
|
...
|
...
|
...
|
...