-
Bug
-
Resolution: Fixed
-
Medium
-
2.6.0
-
None
-
MySQL5
The user table of the atlassian user repo doesn't have unique index on the name column. This allows duplicates to be created under certain circumstances. Since many other tables in the confluence db refer to the user via name instead of the id, this can cause data integrity and potentially also security issues.
CREATE TABLE `users` ( `id` bigint(20) NOT NULL default '0', `name` varchar(255) NOT NULL default '', `password` varchar(255) default NULL, `email` varchar(255) default NULL, `created` datetime default NULL, `fullname` varchar(255) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
- is related to
-
CONFSERVER-12196 New unique constraints and foreign keys added to database configuration are not applied to existing installations
- Closed