[jira] [Created] (SYNCOPE-1093) Add some feedbacks when linking not existing groups/resources to existing user
Matteo Alessandroni created SYNCOPE-1093:
Summary: Add some feedbacks when linking not existing groups/resources to existing user
URL: https://issues.apache.org/jira/browse/SYNCOPE-1093 Project: Syncope
Issue Type: Improvement
Affects Versions: 2.0.3
Reporter: Matteo Alessandroni
When using *syncope-enduser* to create or edit a User, it would be nice to have a feedback when user tries to link a group or resource that does not exist and block user from entering any group/resource when no groups/resources are available in the system.
For instance ("Group" test case):
- I am in "Groups" tab and manually enter a not existing group name in "Groups" input element;
- Click "Next" and I'm on next tab;
- Go back to "Groups" tab and the group I have entered is not there anymore.
*Problem*: I have got no feedbacks about the situation and I have initially thought my group was linked to my user.
*Possible solution* ("Group" test case):
* _Case 1_: there is a group at least:
** If user inserts a not existing group (he does not choose one from dropdown) and clicks on "Next" button --> show a message to warn that he must choose a group from dropdown : Sample ;
** The group name he have entered will be removed from input element : Sample;
** If user inserts no groups, everything should work as usual.
* _Case 2_: there are no groups:
** "Groups" input element should be disabled by default.
This message was sent by Atlassian JIRA