chore: add airplane mode interface permission declaration - #602
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds a security-loader permission interface configuration for the network plugin so control center can toggle airplane mode, and ensures it is installed and packaged with the plugin. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
1. Register org.deepin.dde.AirplaneMode1 for security-loader access 2. Install the permission config with the control center network plugin 3. Include the permission interface directory in the Debian package Log: Allow control center to switch airplane mode through security-loader Influence: 1. Verify the control center network panel opens normally 2. Verify airplane mode can be enabled and disabled 3. Verify Wi-Fi and Bluetooth follow airplane mode state changes chore: 添加网络模块飞行模式接口权限声明 1. 为 security-loader 注册 org.deepin.dde.AirplaneMode1 2. 随控制中心网络插件安装权限配置文件 3. 在 Debian 软件包中包含权限接口配置目录 Log: 允许控制中心通过 security-loader 切换飞行模式 Influence: 1. 验证控制中心网络面板可以正常打开 2. 验证飞行模式可以正常开启和关闭 3. 验证 Wi-Fi 和蓝牙状态随飞行模式正确变化 PMS: TASK-393313
deepin pr auto review★ 总体评分:95分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 --- a/debian/control
+++ b/debian/control
@@ -59,7 +59,9 @@ Package: dock-network-plugin
Architecture: any
-Depends: ${misc:Depends},${shlibs:Depends},libdde-network-core (= ${binary:Version}),dde-daemon (>= 6.1.102)
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ libdde-network-core (= ${binary:Version}),
+ dde-daemon (>= 6.1.102)
Description: the plugin of network for dde-dock
dock-plugin module
@@ -67,7 +69,9 @@ Package: dss-network-plugin
Architecture: any
-Depends: ${misc:Depends},${shlibs:Depends},libdde-network-core (= ${binary:Version}),dde-daemon (>= 6.1.102)
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ libdde-network-core (= ${binary:Version}),
+ dde-daemon (>= 6.1.102)
Description: the plugin of network for dde-lock
dss-network-plugin module
@@ -75,7 +79,9 @@ Package: deepin-service-plugin-network
Architecture: any
-Depends: ${misc:Depends},${shlibs:Depends},curl,dde-daemon (>= 6.1.102)
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ curl,
+ dde-daemon (>= 6.1.102)
Breaks: dde-daemon (<<6.1.58)
Replaces: dde-daemon (<<6.1.58)
Description: the plugin of network service for deepin-service-manager |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: caixr23, fly602 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Log: Allow control center to switch airplane mode through security-loader
Influence:
chore: 添加网络模块飞行模式接口权限声明
Log: 允许控制中心通过 security-loader 切换飞行模式
Influence:
PMS: TASK-393313
Summary by Sourcery
Build: