Uploaded image for project: 'Poulpe'
  1. Poulpe
  2. POULPE-268

Make User Ban add user to the respective user group

VotersWatchers
    XMLWordPrintable

    Details

      Description

      Right now when we ban user, it's just saved with some ban reason to the database, but this is not how it should work. The expected behavior is the User should be added to the special group Banned Users.
      In the source code when adding a user to the group, those steps should be done:

      1. Selecting a Banned Users group from the table
      2. If it's there, then use it
      3. If there is no such group, then it should be created

      No additional dialogues should appear, the user silently should be added to the grid with banned users. And while showing the users - again, the grid should show those users that are in the Banned Users group.
      An additional task should be created in JTalks Common for removing the reason of ban from both User entity and USERS table.
      Reference information:

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  anna_s Anna Shcherbinina
                  Reporter:
                  ctapobep Stanislav Bashkyrtsev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 5h Original Estimate - 5h
                    5h
                    Remaining:
                    Remaining Estimate - 0h
                    0h
                    Logged:
                    Time Spent - 17.5h
                    17.5h

                      Structure Helper Panel