Redirect users with the role erdfisch to /admin/projects after login.
eca.eca.process_bvldndf.yml
langcode: en
status: true
dependencies:
module:
- eca_user
id: process_bvldndf
modeller: bpmn_io
label: 'Redirect erdfisch after login'
version: ''
weight: 0
events:
Event_11gkfze:
plugin: 'user:login'
label: 'User login'
configuration: { }
successors:
-
id: Activity_07ecpnf
condition: Flow_0rquxvd
conditions:
Flow_0rquxvd:
plugin: eca_current_user_role
configuration:
negate: false
role: erdfisch
gateways: { }
actions:
Activity_07ecpnf:
plugin: action_goto_action
label: 'Redirect to projects view '
configuration:
replace_tokens: false
url: /admin/projects
successors: { }
23.05.2025 | Dominik Wille