Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-272

Add a method on Group class to remove an user

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M5
    • 1.1.8
    • Kernel
    • None

      Proposed patch :

      Index: main/kernel/src/org/ametys/runtime/group/Group.java
      ===================================================================
      --- main/kernel/src/org/ametys/runtime/group/Group.java	(revision 646)
      +++ main/kernel/src/org/ametys/runtime/group/Group.java	(working copy)
      @@ -72,6 +72,15 @@
           }
           
           /**
      +     * Removes an user to this group
      +     * @param login the login of the user to remove to this group
      +     */
      +    public void removeUser(String login)
      +    {
      +        _users.remove(login);
      +    }
      +    
      +    /**
            * Returns all users of this group.
            * @return Users as a Set of String (login).
            */
      

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: