# You must use a tab-size of 4 spaces to edit this file.
---
zenario__impersonate:
    priv: _PRIV_IMPERSONATE_USER
    key:
        id: 0
        openFromAdminToolbar: false
    title: Impersonating an extranet user
    tabs:
        impersonate:
            edit_mode:
                enabled: true
            fields:
                user_id:
                    label: Extranet user
                    pick_items:
                        path: zenario__users/panels/users/refiners/active_users////
                        target_path: zenario__users/panels/users
                        min_path: zenario__users/panels/users
                        max_path: zenario__users/panels/users
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Select
                        select_phrase: Select extranet user...
                        nothing_selected_phrase: No extranet user selected
                    validation:
                        required_if_not_hidden: 'Please select an extranet user'
                desc:
                    full_width: true
                    snippet:
                        html: 
                options:
                    type: radios
                    values:
                        stay_logged_in:
                            label: 'Stay logged in as administrator'
                        logout:
                            label: 'Log out as administrator'
                    value: stay_logged_in
                
                remember_me:
                    label: Remember me as this extranet user
                    type: checkbox
                
                log_me_in:
                    label: Log me in automatically as this extranet user
                    type: checkbox
    
    max_height: 220
    hide_tab_bar: true
    save_button_message: Impersonate this user
    cancel_button_message: Cancel
