GUAC-1407: Only the current data source is relevant when cloning. Do not show the others.
This commit is contained in:
1 parent
9b933b7520
commit
88d76fb971
1 file changed
+4
@@ -492,6 +492,10 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
|
||||
if (!linked && readOnly)
|
||||
return;
|
||||
|
||||
// Only the selected data source is relevant when cloning
|
||||
if (cloneSourceUsername && dataSource !== selectedDataSource)
|
||||
return;
|
||||
|
||||
// Determine class name based on read-only / linked status
|
||||
var className;
|
||||
if (readOnly) className = 'read-only';
|
||||
|
||||
Reference in new issue
Block a user