# TEST
# the 'permission' option for 'show' view is properly parsed

# CONFIGURATION
easy_admin:
    show:
        item_permission: 'ROLE_PERMISSION_1'

    entities:
        Category:
            class: AppTestBundle\Entity\UnitTests\Category
            show:
                item_permission: ''
                fields:
                    - { property: 'id', permission: ['ROLE_PERMISSION_3', 'ROLE_PERMISSION_4'] }

        Product:
            class: AppTestBundle\Entity\UnitTests\Product
            show:
                item_permission: 'ROLE_PERMISSION_2'
                fields: ['id']
