дополнение безопасности. не везде был сделан режим чтения
This commit is contained in:
@@ -33,5 +33,6 @@ public class DVMConfigurationDialog extends DBObjectDialog<DVMConfiguration, DVM
|
||||
fields.tfName.setEnabled(false);
|
||||
fields.sCompilationMaxtime.setEnabled(false);
|
||||
fields.sRunMaxtime.setEnabled(false);
|
||||
fields.sKernels.setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,7 +101,6 @@ public class DVMConfigurationsForm extends DataSetControlForm<DVMConfiguration>
|
||||
if (Global.mainModule.getAccount().CheckRegistered(null)) {
|
||||
switch (Global.mainModule.getAccount().role) {
|
||||
case Admin:
|
||||
case Developer:
|
||||
return true;
|
||||
default:
|
||||
return (Global.mainModule.getAccount().email.equals(object.sender_address));
|
||||
|
||||
Reference in New Issue
Block a user