Skip to content

Added new group policy for PackageKit #80

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions BaseALT.admx
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,14 @@
<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_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>
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
952 changes: 952 additions & 0 deletions BaseALTPackageKit.admx

Large diffs are not rendered by default.

598 changes: 598 additions & 0 deletions BaseALTPolkit.admx

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions en-US/basealt.adml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@
<string id="ALT_Windows_Manager_Marco_Help">Windows manager Marco settings</string>
<string id="ALT_Windows_Manager_Marco_Keyboard">Keyboard settings</string>
<string id="ALT_Windows_Manager_Marco_Keyboard_Help">Keyboard settings</string>
<string id="ALT_Polkit">Polkit Policies</string>
<string id="ALT_Polkit_Help">Polkit Policies</string>
<string id="ALT_PackageKit">PackageKit permissions</string>
<string id="ALT_PackageKit_Help">PackageKit permissions</string>
<string id="ALT_Udisks2">Udisks2 permissions</string>
<string id="ALT_Udisks2_Help">Udisks2 permissions</string>
</stringTable>
</resources>
</policyDefinitionResources>
550 changes: 550 additions & 0 deletions en-US/basealtpackagekit.adml

Large diffs are not rendered by default.

239 changes: 239 additions & 0 deletions en-US/basealtpolkit.adml
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- (c) 2020 BaseALT, Ltd. -->
<policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions" revision="1.0" schemaVersion="1.0">
<displayName>Определения политик безопасности операционной системы Альт</displayName>
<description>Этот файл содержит определения политик безопасности операционной системы Альт.</description>
<resources>
<stringTable>

<string id="org-freedesktop-udisks2-filesystem-mount">Permission to automount removable storage devices</string>
<string id="org-freedesktop-udisks2-filesystem-mount_help">Permission to automount removable storage devices

This policy grants or restricts permissions to automount removable storage devices.

Disable/Not configured - Permissions are determined by system settings. Default is «Auth_admin»

Enable - permission to mount with set rights;

Possible values:

«No» - Not authorized;

«Yes» - Authorized;

«Auth_self» - Authentication by the owner of the session that the client originates from is required. Note that this is not restrictive enough for most uses on multi-user systems; auth_admin* is generally recommended;

«Auth_admin» - Authentication by an administrative user is required;

«Auth_self_keep» - Like auth_self but the authorization is kept for a brief period (e.g. five minutes). The warning about auth_self above applies likewise;

«Auth_admin_keep» - Like auth_admin but the authorization is kept for a brief period (e.g. five minutes).

</string>
<string id="org-freedesktop-udisks2-filesystem-mount-user">Permission to automount removable storage devices</string>
<string id="org-freedesktop-udisks2-filesystem-mount-user_help">Permission to automount removable storage devices

This policy grants or restricts permissions to automount removable storage devices.

Disable/Not configured - Permissions are determined by system settings. Default is «Auth_admin»

Enable - permission to mount with set rights;

Possible values:

«No» - Not authorized;

«Yes» - Authorized;

«Auth_self» - Authentication by the owner of the session that the client originates from is required. Note that this is not restrictive enough for most uses on multi-user systems; auth_admin* is generally recommended;

«Auth_admin» - Authentication by an administrative user is required;

«Auth_self_keep» - Like auth_self but the authorization is kept for a brief period (e.g. five minutes). The warning about auth_self above applies likewise;

«Auth_admin_keep» - Like auth_admin but the authorization is kept for a brief period (e.g. five minutes).

</string>
<string id="org-freedesktop-udisks2-filesystem-mount-other-seat">Permission to automount removable storage devices in remote sessions</string>
<string id="org-freedesktop-udisks2-filesystem-mount-other-seat_help">Permission to automount removable storage devices in remote sessions

This policy grants or restricts permissions to automount removable storage devices from a device connected to a remote workstation (for example, on another computer or remote session).

Disable/Not configured - Permissions are determined by system settings. Default is «Auth_admin»

Enable - permission to mount with set rights;

Possible values:

«No» - Not authorized;

«Yes» - Authorized;

«Auth_self» - Authentication by the owner of the session that the client originates from is required. Note that this is not restrictive enough for most uses on multi-user systems; auth_admin* is generally recommended;

«Auth_admin» - Authentication by an administrative user is required;

«Auth_self_keep» - Like auth_self but the authorization is kept for a brief period (e.g. five minutes). The warning about auth_self above applies likewise;

«Auth_admin_keep» - Like auth_admin but the authorization is kept for a brief period (e.g. five minutes).

</string>
<string id="org-freedesktop-udisks2-filesystem-mount-other-seat-user">Permission to automount removable storage devices in remote sessions</string>
<string id="org-freedesktop-udisks2-filesystem-mount-other-seat-user_help">Permission to automount removable storage devices in remote sessions

This policy grants or restricts permissions to automount removable storage devices from a device connected to a remote workstation (for example, on another computer or remote session).

Disable/Not configured - Permissions are determined by system settings. Default is «Auth_admin»

Enable - permission to mount with set rights;

Possible values:

«No» - Not authorized;

«Yes» - Authorized;

«Auth_self» - Authentication by the owner of the session that the client originates from is required. Note that this is not restrictive enough for most uses on multi-user systems; auth_admin* is generally recommended;

«Auth_admin» - Authentication by an administrative user is required;

«Auth_self_keep» - Like auth_self but the authorization is kept for a brief period (e.g. five minutes). The warning about auth_self above applies likewise;

«Auth_admin_keep» - Like auth_admin but the authorization is kept for a brief period (e.g. five minutes).

</string>
<string id="org-freedesktop-udisks2-filesystem-mount-system">Permission to automount system partitions</string>
<string id="org-freedesktop-udisks2-filesystem-mount-system_help">Permission to automount system partitions

This policy grants or restricts permissions to automatically mount system partitions.

Выключить/Не настроено - разрешения определяются системными параметрами. По умолчанию - «Auth_admin»

Disable/Not configured - Permissions are determined by system settings. Default is «Auth_admin»

Enable - permission to mount with set rights;

Possible values:

«No» - Not authorized;

«Yes» - Authorized;

«Auth_self» - Authentication by the owner of the session that the client originates from is required. Note that this is not restrictive enough for most uses on multi-user systems; auth_admin* is generally recommended;

«Auth_admin» - Authentication by an administrative user is required;

«Auth_self_keep» - Like auth_self but the authorization is kept for a brief period (e.g. five minutes). The warning about auth_self above applies likewise;

«Auth_admin_keep» - Like auth_admin but the authorization is kept for a brief period (e.g. five minutes).

</string>
<string id="org-freedesktop-udisks2-filesystem-mount-system-user">Permission to automount system partitions</string>
<string id="org-freedesktop-udisks2-filesystem-mount-system-user_help">Permission to automount system partitions

This policy grants or restricts permissions to automatically mount system partitions.

Disable/Not configured - Permissions are determined by system settings. Default is «Auth_admin»

Enable - permission to mount with set rights;

Possible values:

«No» - Not authorized;

«Yes» - Authorized;

«Auth_self» - Authentication by the owner of the session that the client originates from is required. Note that this is not restrictive enough for most uses on multi-user systems; auth_admin* is generally recommended;

«Auth_admin» - Authentication by an administrative user is required;

«Auth_self_keep» - Like auth_self but the authorization is kept for a brief period (e.g. five minutes). The warning about auth_self above applies likewise;

«Auth_admin_keep» - Like auth_admin but the authorization is kept for a brief period (e.g. five minutes).

</string>
<string id="org-freedesktop-udisks2-filesystem-mount-all">General automount policy</string>
<string id="org-freedesktop-udisks2-filesystem-mount-all_Help">General automount policy

This policy grants or restricts permissions to automount removable storage devices, automount system partitions, automount removable storage devices in remote sessions.

Disable/Not configured - Permissions are determined by system settings. Default is «Auth_admin»

Enable - permission to mount with set rights;

Possible values:

«No» - Not authorized;

«Yes» - Authorized;

«Auth_self» - Authentication by the owner of the session that the client originates from is required. Note that this is not restrictive enough for most uses on multi-user systems; auth_admin* is generally recommended;

«Auth_admin» - Authentication by an administrative user is required;

«Auth_self_keep» - Like auth_self but the authorization is kept for a brief period (e.g. five minutes). The warning about auth_self above applies likewise;

«Auth_admin_keep» - Like auth_admin but the authorization is kept for a brief period (e.g. five minutes).

</string>
<string id="org-freedesktop-udisks2-filesystem-mount-all-user">General automount policy</string>
<string id="org-freedesktop-udisks2-filesystem-mount-all-user_Help">General automount policy

This policy grants or restricts permissions to automount removable storage devices, automount system partitions, automount removable storage devices in remote sessions.

Disable/Not configured - Permissions are determined by system settings. Default is «Auth_admin»

Enable - permission to mount with set rights;

Possible values:

«No» - Not authorized;

«Yes» - Authorized;

«Auth_self» - Authentication by the owner of the session that the client originates from is required. Note that this is not restrictive enough for most uses on multi-user systems; auth_admin* is generally recommended;

«Auth_admin» - Authentication by an administrative user is required;

«Auth_self_keep» - Like auth_self but the authorization is kept for a brief period (e.g. five minutes). The warning about auth_self above applies likewise;

«Auth_admin_keep» - Like auth_admin but the authorization is kept for a brief period (e.g. five minutes).

</string>

<string id="org-freedesktop-udisks2-filesystem-mount-No">No</string>
<string id="org-freedesktop-udisks2-filesystem-mount-Yes">Yes</string>
<string id="org-freedesktop-udisks2-filesystem-mount-Auth-self">Auth_self</string>
<string id="org-freedesktop-udisks2-filesystem-mount-Auth-admin">Auth_admin</string>
<string id="org-freedesktop-udisks2-filesystem-mount-Auth-self-keep">Auth_self_keep</string>
<string id="org-freedesktop-udisks2-filesystem-mount-Auth-admin-keep">Auth_admin_keep</string>

</stringTable>
<presentationTable>
<presentation id="org-freedesktop-udisks2-filesystem-mount-all-pr">
<dropdownList noSort="true" defaultItem="1" refId="OrgFreedesktopUdisks2FileSystemMount_setter">Restriction options for auto-mounting removable storage devices:</dropdownList>
<checkBox refId="OrgFreedesktopUdisks2FileSystemMount_blocker">Block</checkBox>
<text>Blocking changes to this setting by user policy. Blocking a policy makes it a priority over a similar policy for the user.</text>
<dropdownList noSort="true" defaultItem="1" refId="OrgFreedesktopUdisks2FileSystemMountOther_setter">Restriction options for automounting removable storage devices in remote sessions:</dropdownList>
<checkBox refId="OrgFreedesktopUdisks2FileSystemMountOther_blocker">Block</checkBox>
<text>Blocking changes to this setting by user policy. Blocking a policy makes it a priority over a similar policy for the user.</text>
<dropdownList noSort="true" defaultItem="1" refId="OrgFreedesktopUdisks2FileSystemMountSystem_setter">Options for restrictions on automounting system partitions:</dropdownList>
<checkBox refId="OrgFreedesktopUdisks2FileSystemMountSystem_blocker">Block</checkBox>
<text>Blocking changes to this setting by user policy. Blocking a policy makes it a priority over a similar policy for the user.</text>
</presentation>
<presentation id="org-freedesktop-udisks2-filesystem-mount-all-user-pr">
<dropdownList noSort="true" defaultItem="1" refId="OrgFreedesktopUdisks2FileSystemMount_setter">Restriction options for auto-mounting removable storage devices:</dropdownList>
<dropdownList noSort="true" defaultItem="1" refId="OrgFreedesktopUdisks2FileSystemMountOther_setter">Restriction options for automounting removable storage devices in remote sessions:</dropdownList>
<dropdownList noSort="true" defaultItem="1" refId="OrgFreedesktopUdisks2FileSystemMountSystem_setter">Options for restrictions on automounting system partitions:</dropdownList>
</presentation>
<presentation id="OrgFreedesktopUdisks2FileSystemMount-pr">
<dropdownList noSort="true" defaultItem="1" refId="OrgFreedesktopUdisks2FileSystemMount_setter">Restriction options:</dropdownList>
<checkBox refId="OrgFreedesktopUdisks2FileSystemMount_blocker">Block</checkBox>
<text>Blocking changes to this setting by user policy. Blocking a policy makes it a priority over a similar policy for the user.</text>
</presentation>
<presentation id="OrgFreedesktopUdisks2FileSystemMountUser-pr">
<dropdownList noSort="true" defaultItem="1" refId="OrgFreedesktopUdisks2FileSystemMount_setter">Restriction options:</dropdownList>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
6 changes: 6 additions & 0 deletions ru-RU/basealt.adml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@
<string id="ALT_Windows_Manager_Marco_Help">Настройки оконного менеджера Marco</string>
<string id="ALT_Windows_Manager_Marco_Keyboard">Настройки клавиатуры</string>
<string id="ALT_Windows_Manager_Marco_Keyboard_Help">Настройки клавиатуры</string>
<string id="ALT_Polkit">Управление Polkit правилами</string>
<string id="ALT_Polkit_Help">правление Polkit правилами</string>
<string id="ALT_PackageKit">Разрешения PackageKit</string>
<string id="ALT_PackageKit_Help">Разрешения PackageKit</string>
<string id="ALT_Udisks2">Разрешения Udisks2</string>
<string id="ALT_Udisks2_Help">Разрешения Udisks2</string>
</stringTable>
</resources>
</policyDefinitionResources>
Loading