Allow a channel to have a user scope
Description
Background
See
Requirements
Add a new select box field when creating or editing a channel (at /admin/channel/my_channel/edit and /admin/channel/new).
The new field must be placed below field 'Domains'.
The new field has a label: 'User scope'
The select box contains: all user scopes that have been created () + the option "No user login allowed". "No user login allowed" is the default value (scope Integrated is not available).
Store the user scope with the channel.
Implement the test scenarios (kind of) in Behat
Test scenarios
Go to /admin/channel/new and /admin/channel/my_channel/edit and check if the select box:
has label 'User scope'.
is added to the page under field 'Domains'.
contains the following options:
all user scopes that have been created () ,
the option "No user login allowed".
has a default option: "No user login allowed".
Check if the chosen 'User scope' is stored within the new or edited channel.
Deployment actions
Technical tasks
Activity
Specs are completed, but I found one bug: when you delete the user scope used in a channel, the channel edit page crashes. Best fix would be to prevent deletion when the scope is in use.
Can you perform an update for the channel bundle for the skeleton, so the tests are passing (hopefully).
.Schatting van 13 uur is geaccepteerd door Integrated Marijn (in opdracht ingevoerd door Marijn Otte).
done
can you try to make the test scenarios?