We're updating the issue view to help you get more done. 

Allow a user to have a scope

Description

Background

See
See spike

Requirements

  • Add a select box with "Scope" when creating or editing a user (at /admin/user/1 and /admin/user/new)

  • The select box contains: all user scopes that have been created () + the scope "Integrated". The scope "Integrated" is the default value

  • Add the same select box when add / edit a relation with "Enable login" (/admin/content/new?type=person)

  • Store the user scope

  • Set the unique to a combination of scope / username (instead of only the username)

  • Do not allow to remove a scope, when it is in use by a user

  • Add user scope to the Behat test at https://github.com/integratedfordevelopers/integrated/blob/0.7/features/user.feature

Deployment actions

Call the following commands:
doctrine:schema:update command
init:scope command

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Marijn Otte

Product owner

Marijn Otte

OTM project ID

None

Client

Integrated Marijn

Plan date

None

Developer

Jeroen van Leeuwen

Code reviewer

Michael Jongman

Max. hours

None

Error message

None

Follow up date

None

Switches

None

Refiner

None

Story Points

5

Time tracking

21h

Epic Link

Sprint

None

Fix versions

Priority

Major