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.

Technical tasks

None

Deployment actions

None

Activity

Show:
Marijn Otte
April 25, 2017, 12:02 PM

can you try to make the test scenarios?

Marcel
April 26, 2017, 11:43 AM

done

API
May 5, 2017, 12:06 PM

.Schatting van 13 uur is geaccepteerd door Integrated Marijn (in opdracht ingevoerd door Marijn Otte).

Jeroen van Leeuwen
May 12, 2017, 7:40 AM

Can you perform an update for the channel bundle for the skeleton, so the tests are passing (hopefully).

Marijn Otte
May 15, 2017, 1:07 PM

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.

Assignee

Unassigned

Client

Integrated Marijn

Epic Link

Sprint

None

Fix versions

Configure