Project

General

Profile

Actions

Bug #14363

closed

"All" user group overwritten after assigning an existing user to a group

Added by Marcos M over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
User Manager / Privileges
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.05
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:
All

Description

Tested on 23.01.

Steps to reproduce on a default configuration:
  1. Create a new user; assign a password, no group memberships, and save.
  2. Edit the user; assign the admins group and save.
    The user groups tab now shows two admins groups.

Config diff:

--- /conf/backup/config-1683597400.xml    2023-05-09 01:56:51.585652000 +0000
+++ /conf/config.xml    2023-05-09 01:56:51.586333000 +0000
@@ -8,10 +8,13 @@
         <domain>home.arpa</domain>
         <dnsallowoverride></dnsallowoverride>
         <group>
-            <name>all</name>
-            <description><![CDATA[All Users]]></description>
+            <name>admins</name>
+            <description><![CDATA[System Administrators]]></description>
             <scope>system</scope>
-            <gid>1998</gid>
+            <gid>1999</gid>
+            <member>0</member>
+            <member>2000</member>
+            <priv>page-all</priv>
         </group>
         <group>
             <name>admins</name>
@@ -19,6 +22,7 @@
             <scope>system</scope>
             <gid>1999</gid>
             <member>0</member>
+            <member>2000</member>
             <priv>page-all</priv>
         </group>
         <user>
@@ -247,8 +251,8 @@
     <qinqs></qinqs>
     <laggs></laggs>
     <revision>
-        <time>1683597400</time>
-        <description><![CDATA[admin@10.0.5.50 (Local Database): Successfully created user test]]></description>
+        <time>1683597411</time>
+        <description><![CDATA[admin@10.0.5.50 (Local Database): Successfully edited user test]]></description>
         <username><![CDATA[admin@10.0.5.50 (Local Database)]]></username>
     </revision>
     <gateways></gateways>

Actions

Also available in: Atom PDF