Sylius / RbacPlugin

Sylius roles and permissions management plugin
32 stars 38 forks source link

Making the admin role configurable in Fixture #54

Closed mamazu closed 5 years ago

mamazu commented 5 years ago

It would be helpful if you could specify the role an admin has in the fixtures of the admin.

admin_user:
          options:
            custom:
              - email: 'test@sylius.com'
                username: 'sylius'
                password: 'sylius'
                enabled: true
                locale_code: 'en_US'
                first_name: 'Testuser'
                last_name: 'Brille24'
                role: 'configurator'