Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polkit group policies #81

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
14 changes: 13 additions & 1 deletion BaseALT.admx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!-- (c) 2019 BaseALT, Ltd. -->
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
revision="1.1" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
Expand Down Expand Up @@ -133,5 +133,17 @@
<category name="ALT_Windows_Manager_Marco_Keyboard" displayName="$(string.ALT_Windows_Manager_Marco_Keyboard)" explainText="$(string.ALT_Windows_Manager_Marco_Keyboard_Help)">
<parentCategory ref="ALT_Windows_Manager_Marco" />
</category>
<category name="ALT_Polkit" displayName="$(string.ALT_Polkit)" explainText="$(string.ALT_Polkit_Help)">
<parentCategory ref="ALT_Services" />
</category>
<category name="ALT_SambaOptions" displayName="$(string.ALT_SambaOptions)" explainText="$(string.ALT_SambaOptions_Help)" >
<parentCategory ref="ALT_Services" />
</category>
<category name="ALT_Udisks2" displayName="$(string.ALT_Udisks2)" explainText="$(string.ALT_Udisks2_Help)">
<parentCategory ref="ALT_Polkit" />
</category>
<category name="ALT_PackageKit" displayName="$(string.ALT_PackageKit)" explainText="$(string.ALT_PackageKit_Help)">
<parentCategory ref="ALT_Polkit" />
</category>
</categories>
</policyDefinitions>
70 changes: 70 additions & 0 deletions BaseALTControl.admx
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,76 @@
</item>
</enum>
</elements>
</policy>
<policy class="Machine" displayName="$(string.smb-conf-usershares)" explainText="$(string.smb-conf-usershares_help)" key="Software\BaseALT\Policies\Control" valueName="smb-conf-usershares" name="smb-conf-usershares">
<parentCategory ref="system:ALT_SambaOptions"/>
<supportedOn ref="system:SUPPORTED_AltP10"/>
<enabledValue>
<string>enabled</string>
</enabledValue>
<disabledValue>
<string>disabled</string>
</disabledValue>
</policy>
<policy class="Machine" displayName="$(string.role-usershares)" explainText="$(string.role-usershares_help)" key="Software\BaseALT\Policies\Control" valueName="role-usershares" name="role-usershares">
<parentCategory ref="system:ALT_SambaOptions"/>
<supportedOn ref="system:SUPPORTED_AltP10"/>
<enabledValue>
<string>enabled</string>
</enabledValue>
<disabledValue>
<string>disabled</string>
</disabledValue>
</policy>
<policy class="Machine" displayName="$(string.role-sambashare)" explainText="$(string.role-sambashare_help)" key="Software\BaseALT\Policies\Control" valueName="role-sambashare" name="role-sambashare">
<parentCategory ref="system:ALT_SambaOptions"/>
<supportedOn ref="system:SUPPORTED_AltP10"/>
<enabledValue>
<string>enabled</string>
</enabledValue>
<disabledValue>
<string>disabled</string>
</disabledValue>
</policy>
<policy class="Machine" displayName="$(string.smb-conf-usershare-allow-guests)" explainText="$(string.smb-conf-usershare-allow-guests_help)" key="Software\BaseALT\Policies\Control" valueName="smb-conf-usershare-allow-guests" name="smb-conf-usershare-allow-guests">
<parentCategory ref="system:ALT_SambaOptions"/>
<supportedOn ref="system:SUPPORTED_AltP10"/>
<enabledValue>
<string>enabled</string>
</enabledValue>
<disabledValue>
<string>disabled</string>
</disabledValue>
</policy>
<policy class="Machine" displayName="$(string.smb-conf-usershare-allow-list)" explainText="$(string.smb-conf-usershare-allow-list_help)" key="Software\BaseALT\Policies\Control" valueName="smb-conf-usershare-allow-list" name="smb-conf-usershare-allow-list">
<parentCategory ref="system:ALT_SambaOptions"/>
<supportedOn ref="system:SUPPORTED_AltP10"/>
<enabledValue>
<string>enabled</string>
</enabledValue>
<disabledValue>
<string>disabled</string>
</disabledValue>
</policy>
<policy class="Machine" displayName="$(string.smb-conf-usershare-deny-list)" explainText="$(string.smb-conf-usershare-deny-list_help)" key="Software\BaseALT\Policies\Control" valueName="smb-conf-usershare-deny-list" name="smb-conf-usershare-deny-list">
<parentCategory ref="system:ALT_SambaOptions"/>
<supportedOn ref="system:SUPPORTED_AltP10"/>
<enabledValue>
<string>enabled</string>
</enabledValue>
<disabledValue>
<string>disabled</string>
</disabledValue>
</policy>
<policy class="Machine" displayName="$(string.smb-conf-usershare-owner-only)" explainText="$(string.smb-conf-usershare-owner-only_help)" key="Software\BaseALT\Policies\Control" valueName="smb-conf-usershare-owner-only" name="smb-conf-usershare-owner-only">
<parentCategory ref="system:ALT_SambaOptions"/>
<supportedOn ref="system:SUPPORTED_AltP10"/>
<enabledValue>
<string>enabled</string>
</enabledValue>
<disabledValue>
<string>disabled</string>
</disabledValue>
</policy>
</policies>
</policyDefinitions>
4 changes: 2 additions & 2 deletions BaseALTGroupPolicies.admx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!-- (c) 2020 BaseALT, Ltd. -->
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.0" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
<policyNamespaces>
Expand Down Expand Up @@ -350,7 +350,7 @@
<decimal value="0"/>
</disabledValue>
</policy>
<policy class="User" displayName="$(string.gpupdate_drive_maps_home_user)" explainText="$(string.gpupdate_drive_maps_home_user_help)" key="Software\BaseALT\Policies\GPUpdate" name="DriveMapsHomeUser" valueName="DriveMapsHomeUser">
<policy class="Machine" displayName="$(string.RemovableStorageClasses_DenyAll_User_Access)" explainText="$(string.RemovableStorageClasses_DenyAll_User_Access_help)" key="Software\BaseALT\Policies\GPUpdate\RemovableStorageDevices" name="RemovableStorageClasses_DenyAll_User_Access" valueName="Deny_All">
<parentCategory ref="system:ALT_Mounting"/>
<supportedOn ref="system:SUPPORTED_AltP10"/>
<enabledValue>
Expand Down
Loading