feat: Add security restriction configurations to all service files#271
Conversation
|
Skipping CI for Draft Pull Request. |
954b8da to
1d4121c
Compare
1d4121c to
a464fa4
Compare
a464fa4 to
3ad37bf
Compare
- Use the deepin-daemon user to run services whenever possible, reducing privilege risks; - Add a D-Bus policy to allow the deepin-daemon user to invoke the HandleSystemEvent method; - Deny users other than root and deepin-daemon from calling HandleSystemEvent, strengthening access control; - "Remove the unused update-metadata-info related scripts and services. Task: https://pms.uniontech.com/task-view-385069.html
3ad37bf to
dfe0d4a
Compare
deepin pr auto review我来对这段代码进行审查,主要从安全性、性能和代码质量几个方面进行分析:
建议的进一步改进:
这些改进主要围绕安全性、可靠性和可维护性展开,有助于提高系统的整体质量。 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: electricface, zhaohuiw42 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 |
reducing privilege risks;
HandleSystemEvent method;
HandleSystemEvent, strengthening access control.