Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Стояла задача маршрутизировать пользователей, кого в агентский интерфейс, кого в сервисный портал. Для этого были разработаны специальные правила.

Эти правила релевантны роли. Пусть пользователи с ролью сервис оунер попадают вот сюда (указывает ссылку).

Создадим новое правило, по которому пользователи, у которых нет ролей, попадали на сервисный портал (/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.

...

FieldDescription
Redirect URLRelative path to redirect when the user has logged in successfully. For example, "/list/user", or "/record/sys_service_portal"
PriorityURL priority (if more than one URLs for one role are specified, then the highest priority URL will be used).
RoleSelect 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
  1. If you need to redirect the user to the Self-Service Portal, then enter "/sp" in the Redirect URL field.
  2. You can select more than one role i

...

  1. in the Role field. In this case, the redirect rule will work only for the user who possesses all of these roles.
  2. Redirect rules are stored in the Rule Redirect (sys_rule

...

  1. _

...

  1. redirect_url

...

  1. )

...

  1. table

...

  1. .

...