necouchman commented on code in PR #673:
URL: https://github.com/apache/guacamole-client/pull/673#discussion_r1413083562


##########
guacamole-ext/src/main/java/org/apache/guacamole/net/auth/UserGroup.java:
##########
@@ -28,6 +28,25 @@
  */
 public interface UserGroup extends Identifiable, Attributes, Permissions {
 
+    /**
+     * Returns true if the user group is disabled, making membership in the 
group
+     * ineffective, meaning that any permissions or other group membership
+     * assigned to this group will not apply to member groups and users.
+     * 
+     * @return 
+     *     True if the group is disabled, otherwise false.
+     */
+    public boolean isDisabled();
+    
+    /**
+     * Set the disabled status of the user group, passing a boolean true value
+     * if the user group should be disabled, otherwise false.
+     * 
+     * @param disabled 
+     *     True if the user group should be disabled, otherwise false.
+     */
+    public void setDisabled(boolean disabled);

Review Comment:
   Implemented concurrent with move to `Identifiable` interface.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to