fix(wallpapercache): restrict bus name ownership#87
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdjusts the D-Bus policy for org.deepin.dde.WallpaperCache to remove default bus name ownership while preserving method call permissions, restricting service name ownership to privileged users (root and deepin-daemon). File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
5ab2fb6 to
41e740d
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy, robertkill 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 |
1. Remove default ownership permission for WallpaperCache on the system bus. 2. Keep method call permissions unchanged for existing local callers. 3. Limit service name ownership to root and deepin-daemon. Log: Restrict WallpaperCache system bus ownership to trusted service users. fix(wallpapercache): 限制总线服务名拥有权限 1. 移除 WallpaperCache 在 system bus 上的默认拥有权限。 2. 保持现有本地调用方的方法调用权限不变。 3. 将服务名拥有权限限制为 root 和 deepin-daemon。 Log: 将 WallpaperCache system bus 服务名拥有权限限制为可信服务用户。 PMS: BUG-365669
41e740d to
dff6573
Compare
|
/forcemerge |
|
This pr force merged! (status: blocked) |
deepin pr auto review这个diff显示了一个DBus配置文件 语法逻辑
代码质量
代码性能
代码安全
改进建议
总体而言,这是一个合理的安全改进,通过限制DBus名称的拥有权限来减少潜在的安全风险。但建议添加适当的注释,并确保不会影响系统的正常功能。 |
Summary
Test
PMS: BUG-365669
Summary by Sourcery
Enhancements: