sync: from linuxdeepin/dde-session-shell#512
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideSynchronizes greeter password-expiration handling and user model updates with upstream dde-session-shell, replacing local shadow-password logic with model-driven updates and improving handling of first-login/domain users. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- In
onAuthFinished, consider storingm_model->currentUser()in a local variable instead of calling it multiple times to make the logic clearer and avoid repeated lookups/null checks. - The warning in
createAuthenticationwhen the user is not found in the local model might be expected behavior for first-time domain logins; consider using a less severe log level or refining the message to distinguish between normal and error scenarios.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- In `onAuthFinished`, consider storing `m_model->currentUser()` in a local variable instead of calling it multiple times to make the logic clearer and avoid repeated lookups/null checks.
- The warning in `createAuthentication` when the user is not found in the local model might be expected behavior for first-time domain logins; consider using a less severe log level or refining the message to distinguish between normal and error scenarios.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
4a9a054 to
1a7cfdb
Compare
deepin pr auto review☀
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: deepin-ci-robot 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 |
1a7cfdb to
c086cfd
Compare
Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: linuxdeepin/dde-session-shell#69
c086cfd to
0df0d5c
Compare
|
TAG Bot New tag: 6.0.62 |
|
TAG Bot New tag: 6.0.63 |
Synchronize source files from linuxdeepin/dde-session-shell.
Source-pull-request: linuxdeepin/dde-session-shell#69
Summary by Sourcery
Improve handling of password expiration information during greeter authentication, especially for newly discovered or domain users.
Bug Fixes:
Enhancements: