Skip to content

Commit

Permalink
Merge pull request #919 from JtheBAB/JtheBAB-gpo
Browse files Browse the repository at this point in the history
Add GPO Template for controlling the upcoming Auto Updater
  • Loading branch information
enahum committed Feb 11, 2019
2 parents a1b0a28 + 20bccfb commit 6d3a368
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
16 changes: 16 additions & 0 deletions resources/windows/gpo/en-US/mattermost.adml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<policyDefinitionResources revision="0.1" schemaVersion="1.0" >
<displayName/>
<description/>
<resources >
<stringTable >
<string id="SUPPORTED_MMD43">Mattermost Desktop Application 4.3 or later</string>
<string id="mattermost">Mattermost</string>
<string id="DisableAutoUpdate">Disable Auto Updater</string>
<string id="DisableAutoUpdate_Explain">If this policy is enabled, the Mattermost Desktop Application does not receive udpates.

If this policy is disabled or not configured, the Mattermost Desktop Application receives updates.
</string>
</stringTable>
</resources>
</policyDefinitionResources>
28 changes: 28 additions & 0 deletions resources/windows/gpo/mattermost.admx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<policyDefinitions revision="0.1" schemaVersion="1.0">
<policyNamespaces>
<target prefix="mattermost" namespace="Mattermost.Policies"/>
</policyNamespaces>
<resources minRequiredRevision="0.1"/>
<supportedOn>
<definitions>
<definition name="SUPPORTED_MMD43" displayName="$(string.SUPPORTED_MMD43)"/>
</definitions>
</supportedOn>
<categories>
<category displayName="$(string.mattermost)" name="mattermost">
</category>
</categories>
<policies>
<policy name="DisableAutoUpdate" class="Machine" displayName="$(string.DisableAutoUpdate)" explainText="$(string.DisableAutoUpdate_Explain)" key="Software\Policies\Mattermost" valueName="DisableAutoUpdate">
<parentCategory ref="mattermost"/>
<supportedOn ref="SUPPORTED_MMD43"/>
<enabledValue>
<decimal value="1"/>
</enabledValue>
<disabledValue>
<decimal value="0"/>
</disabledValue>
</policy>
</policies>
</policyDefinitions>

0 comments on commit 6d3a368

Please sign in to comment.