Verified Commit 999b5dc4 authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: Feat(Snapshot) - snapshots sources via webservice only.

Set the availibility of data source only by web services.
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -57,7 +57,7 @@ class SnapshotCreateDialog extends ManagementDialog
]
],
'dataSource' => [
'name' => _('dataSource'),
'name' => _('dataSource - only available via web-service.'),
'attrs' => [
new SelectAttribute(
'Data source', _('Origin / Source of the data'),
......@@ -74,6 +74,7 @@ class SnapshotCreateDialog extends ManagementDialog
// The attribut will be passed to parent for later saving, dataSource might require same logic.
$this->attributesAccess['description']->setInLdap(FALSE);
$this->attributesAccess['snapshotSource']->setInLdap(FALSE);
$this->attributesAccess['snapshotSource']->setVisible(FALSE);
$recordedDataSources = $this->getLdapRecordedDataSources();
if (!empty($recordedDataSources)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment