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
Call the following commands:
dit is de issue.
"The scope "Integrated" is the default value" --> currently it is not when I go to /admin/user/new
When a try to remove a scope which is in use by a user, I get a 500 error instead of a friendly message
Please change the "This username is already in use" message to "This username is already in use in this scope"
The background in says "The "Integrated" scope is a special scope: always available (not stored in database) and the scope for log in to Integrated". This requirement is implemented a little different. The different implementation is OK, but needs two other requirements:
Please add the init:scope command to the composer.json of the skeleton, to make sure it is executed on new installations
Please hide the Integrated scope on the scope overview (/admin/scope/)
some feedback changes. I still need the add some changes to the skeleton so can you put this issue back to me after the review?
Merged the PR, you can make the changes to the skeleton.
.Notificatie oplevering gestuurd naar Integrated Marijn (email@example.com)