[ https://issues.apache.org/jira/browse/SYNCOPE-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051729#comment-16051729 ]
ASF GitHub Bot commented on SYNCOPE-1093: ----------------------------------------- GitHub user mat-ale opened a pull request: https://github.com/apache/syncope/pull/46 Select2search fields improvements This solves the improvement [#SYNCOPE-1093](https://issues.apache.org/jira/browse/SYNCOPE-1093), but no feedback was added for issue "Case 1" in order not to add too much complexity to a customizable enduser. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mat-ale/syncope select2searchFeedbacks Alternatively you can review and apply these changes as the patch at: https://github.com/apache/syncope/pull/46.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #46 ---- commit e91cf09308c27b6a4a42c788fe63d2b82c605437 Author: Matteo Alessandroni <matteo.alessandr...@tirasa.net> Date: 2017-06-15T14:56:06Z Disable select2search fields when no data is available Signed-off-by: Matteo Alessandroni <matteo.alessandr...@tirasa.net> commit a6deffc387eb8c9577cd53a23599792984cb6cd9 Author: Matteo Alessandroni <matteo.alessandr...@tirasa.net> Date: 2017-06-16T08:35:28Z currently selected groups are removed when user choose a different realm Signed-off-by: Matteo Alessandroni <matteo.alessandr...@tirasa.net> ---- > Add some feedbacks when linking not existing groups/resources to existing user > ------------------------------------------------------------------------------ > > Key: SYNCOPE-1093 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1093 > Project: Syncope > Issue Type: Improvement > Components: enduser > Reporter: Matteo Alessandroni > Priority: Minor > Fix For: 2.0.4, 2.1.0 > > > 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 (v6.4.14#64029)