diff --git a/plugins/dynamix/SecurityAFP.page b/plugins/dynamix/SecurityAFP.page index 4371034c3..32eaf1e79 100644 --- a/plugins/dynamix/SecurityAFP.page +++ b/plugins/dynamix/SecurityAFP.page @@ -3,8 +3,8 @@ Title="AFP Security Settings" Cond="(($var['shareAFPEnabled']!='no') && (isset($name)?array_key_exists($name,$sec_afp):0))" --- - - +?> > This section is used to configure the security settings for the share when accessed using AFP and > appears only when AFP is enabled on the Network Services page. -
+> *Clone settings to* is used to copy the AFP security settings of the current selected share to one or more other existing shares. +> +> Select the desired destinations and press **Clone** to copy the SMB security settings to those shares. + +
+Clone settings to + +
+ + Share name: : Export: -: @@ -95,9 +110,28 @@ Security:
-
-
User Access
Guests have read-only access.
+ +> *Clone settings to* is used to copy the User access settings of the current share to one or more other existing shares. +> +> Select the desired destinations and press **Clone** to copy the User access settings to those shares. + +
+Clone settings to + +
+ + +   @@ -105,12 +139,100 @@ Security:
-
-
User Access
Guests have no access.
+ +> *Clone settings to* is used to copy the User access settings of the current share to one or more other existing shares. +> +> Select the desired destinations and press **Clone** to copy the User access settings to those shares. + +
+Clone settings to + +
+ + +   :
+ + diff --git a/plugins/dynamix/SecurityNFS.page b/plugins/dynamix/SecurityNFS.page index e94bcbf8c..0139f0b2b 100644 --- a/plugins/dynamix/SecurityNFS.page +++ b/plugins/dynamix/SecurityNFS.page @@ -14,7 +14,30 @@ Cond="(($var['shareNFSEnabled']!='no') && (isset($name)?array_key_exists($name,$ * all copies or substantial portions of the Software. */ ?> -
+ +> *Clone settings to* is used to copy the SMB security settings of the current selected share to one or more other existing shares. +> +> Select the desired destinations and press **Clone** to copy the SMB security settings to those shares. + +
+Clone settings to + +
+ + Share name: @@ -47,3 +70,32 @@ Rule: :
+ + diff --git a/plugins/dynamix/SecuritySMB.page b/plugins/dynamix/SecuritySMB.page index 8461e864e..ad1818628 100644 --- a/plugins/dynamix/SecuritySMB.page +++ b/plugins/dynamix/SecuritySMB.page @@ -3,8 +3,8 @@ Title="SMB Security Settings" Cond="(($var['shareSMBEnabled']!='no') && (isset($name)?array_key_exists($name,$sec):0))" --- - - -> *Clone destinations* is used to copy the SMB security settings of the current selected share to one or more other existing shares. +> *Clone settings to* is used to copy the SMB security settings of the current selected share to one or more other existing shares. > > Select the desired destinations and press **Clone** to copy the SMB security settings to those shares. -
-Clone destinations +
+Clone settings to -
+
@@ -60,7 +54,6 @@ Export: > will *hide* the share from *browsing* but is still accessible if you know the share name. - Enhanced OS X interoperability: : @@ -97,12 +89,12 @@ Security:
User Access
Guests have read-only access.
-> *Clone destinations* is used to copy the User access settings of the current share to one or more other existing shares. +> *Clone settings to* is used to copy the User access settings of the current share to one or more other existing shares. > > Select the desired destinations and press **Clone** to copy the User access settings to those shares. -
-Clone destinations +
+Clone settings to -
+
- + @@ -127,25 +118,25 @@ if (isset($disks[$name])) {
User Access
Guests have no access.
-> *Clone destinations* is used to copy the User access settings of the current share to one or more other existing shares. +> *Clone settings to* is used to copy the User access settings of the current share to one or more other existing shares. > > Select the desired destinations and press **Clone** to copy the User access settings to those shares. -
-Clone destinations +
+Clone settings to -
+
- + + @@ -161,7 +152,8 @@ $(function() { $('#tab'+$('input[name$="tabs"]').length).bind({click:function(){initDropdown2(true);}}); - $('#cloneuser').prop('disabled',true); + $('#cloneusersmb').prop('disabled',true); + $('#s5').dropdownchecklist('disable'); }); function initDropdown2(reset) { @@ -169,8 +161,8 @@ function initDropdown2(reset) { $('#s4').dropdownchecklist('destroy'); $('#s5').dropdownchecklist('destroy'); } - $("#s4").dropdownchecklist({firstItemChecksAll:true, emptyText:'please select...', width:150, explicitClose:'...close'}); - $("#s5").dropdownchecklist({firstItemChecksAll:true, emptyText:'please select...', width:150, explicitClose:'...close'}); + $("#s4").dropdownchecklist({firstItemChecksAll:true, emptyText:'select...', width:120, explicitClose:'...close'}); + $("#s5").dropdownchecklist({firstItemChecksAll:true, emptyText:'select...', width:120, explicitClose:'...close'}); } function cloneSMB() { var data = {}, copied = false; @@ -187,7 +179,7 @@ function cloneSMB() { }); if (copied) swal({title:'Clone complete',text:'SMB security settings are cloned to the selected shares',type:'success'},function(){refresh();}); } -function cloneUser() { +function cloneUserSMB() { var data = {}, copied = false; data['userAccess.0'] = 'no-access'; composite view of all files and subdirectories for which that top-level directory exists on each storage device. > -> *Clone source* is used to preset the settings of the new share with the settings of an existing share. +> *Clone settings from* is used to preset the settings of the new share with the settings of an existing share. > Select the desired share name and press **Clone** to copy the settings from that source. -> *Clone destinations* is used to copy the settings of the current share to one or more other existing shares. +> *Clone settings to* is used to copy the settings of the current share to one or more other existing shares. > Select the desired destinations and press **Clone** to copy the settings to those shares. @@ -84,7 +84,7 @@ function initDropdown1(remove,create) { $("#s1").dropdownchecklist({emptyText:'All', width:300, explicitClose:'...close'}); $("#s2").dropdownchecklist({emptyText:'None', width:300, explicitClose:'...close'}); - $("#s3").dropdownchecklist({firstItemChecksAll:true, emptyText:'please select...', width:150, explicitClose:'...close'}); + $("#s3").dropdownchecklist({firstItemChecksAll:true, emptyText:'select...', width:120, explicitClose:'...close'}); } } @@ -186,21 +186,19 @@ function cloneShare() { } -
+
-Clone destinations +Clone settings to -
+ -Clone source +Clone settings from -
+