Add Server Address to GPO

This commit is contained in:
JtheBAB 2019-02-01 16:08:23 +01:00 committed by William Gathoye
parent 20bccfb5b4
commit 6e690e9e61
2 changed files with 36 additions and 1 deletions

View file

@ -11,6 +11,24 @@
If this policy is disabled or not configured, the Mattermost Desktop Application receives updates.
</string>
<string id="PreventAddNewServer">Prevent adding new Mattermost server</string>
<string id="PreventAddNewServer_Explain">If this policy is enabled, it is not possible to add new servers.
If this policy is disabled or not configured, it is possible to add new servers.
</string>
<string id="ServerURL">Server addresses</string>
<string id="ServerURL_Explain">If this policy is enabled, you can set one or more Mattermost server addresses. Use the syntax Servername,https://server.com|Servername2,https://server2.com
If this policy is disabled or not configured, no servers are preconfigured.</string>
</stringTable>
<presentationTable>
<presentation id="ServerURL">
<text>URL:</text>
<textBox refId="ServerURL">
<label/>
</textBox>
</presentation>
</presentationTable>
</stringTable>
</resources>
</policyDefinitionResources>

View file

@ -24,5 +24,22 @@
<decimal value="0"/>
</disabledValue>
</policy>
</policies>
<policy name="PreventAddNewServer" class="Both" displayName="$(string.PreventAddNewServer)" explainText="$(string.PreventAddNewServer_Explain)" key="Software\Policies\Mattermost" valueName="PreventAddNewServer">
<parentCategory ref="mattermost"/>
<supportedOn ref="SUPPORTED_MMD43"/>
<enabledValue>
<decimal value="1"/>
</enabledValue>
<disabledValue>
<decimal value="0"/>
</disabledValue>
</policy>
<policy name="ServerURL" class="Both" displayName="$(string.ServerURL)" explainText="$(string.ServerURL_Explain)" key="Software\Policies\Mattermost" presentation="$(presentation.ServerURL)" >
<parentCategory ref="mattermost"/>
<supportedOn ref="SUPPORTED_MMD43"/>
<elements >
<text id="ServerURL" valueName="URL" required="true" />
</elements>
</policy>
</policies>
</policyDefinitions>