zenario__users:
    ord: -790
    priv:
        - _PRIV_VIEW_ADMIN
        - _PRIV_VIEW_USER
    visible_if: >
        zenarioA.siteSettings.default_language
    css_class: zenario_cms_core_users
    label: Users & contacts
    tooltip: |
        Create accounts for extranet users and other known contacts
    nav:
        users:
            ord: 1
            priv: _PRIV_VIEW_USER
            label: 'Users & contacts'
            tooltip: >
                On a site with an extranet, "Users" can access private areas. "Contacts" are other people whose details are stored.
            link:
                path: zenario__users/panels/users
        
        groups:
            ord: 2
            priv: _PRIV_VIEW_USER
            label: Groups
            tooltip: >
                Users can be arranged into groups, and permissions to view content can be arranged on a by-group basis.
            link:
                path: zenario__users/panels/groups
        smart_groups:
            ord: 3
            priv: _PRIV_VIEW_USER
            label: Smart groups
            tooltip: >
                Smart groups are views of user/contacts, based on
                filters that you define. Use smart groups to define newsletter mailing lists.
            link:
                path: zenario__users/panels/smart_groups
        #If Organization-User Role Manager module is running, element 4 will be the Roles.
        #If User Timers module is running, element 5 will be the Timer plans.
        consents:
            ord: 6
            priv: _PRIV_VIEW_USER
            label: Consent log
            tooltip: >
                When completing a form, a consent to store data may be required. View the log of consents.
            css_class: zenario_consent
            separator_before_this: true
            link:
                path: zenario__users/panels/consents
        #If Extranet Base module is running, element 7 will be the User sign-in log.
        access_log:
            ord: 8
            priv: _PRIV_VIEW_USER
            label: User access log
            tooltip: Log of extranet users and the private content items they have accessed
            link:
                path: zenario__users/panels/access_log
            visible_if: zenarioA.module.zenario_extranet && zenarioA.module.zenario_extranet.running
        
        suspended_users:
            ord: 9
            priv: _PRIV_VIEW_USER
            css_class: zenario_suspended_users
            label: Suspended users
            tooltip: People who were extranet users but whose accounts are suspended to prevent them logging in
            link:
                path: zenario__users/panels/users
                refiner: suspended_users
            visible_if: zenarioA.module.zenario_extranet && zenarioA.module.zenario_extranet.running