-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Feature: Added a prompt when failing to rename items requiring additional permissions #14669
Feature: Added a prompt when failing to rename items requiring additional permissions #14669
Conversation
…m that requires TrustedInstaller
Trusted Installer is just an example, I imagine there can be others cases as well. |
I guess it can only be either |
It could also be a non admin account that needs access from admin. |
In that case there's the UAC modal |
I tried to find a way to distinct between |
I think that's fine |
Co-authored-by: Yair <[email protected]>
Co-authored-by: Yair <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM regarding codebase quaility
Resolved / Related Issues
Closes Bug: No warning is shown when failing to rename files as non admin #8326
Known bugs
Edit permissions
doesn't work:Edit permissions
The issue behind these bugs is that the
Properties
window depends onIShellPage
andListedItem
, whileRenameAsync
doesn't. To get those values, I'm usingContentPageContext
, but this doesn't work if you change the working directory while renaming. Do you have any ideas on how I can fix this without messing up the code too much?Validation
How did you test these changes?
C:\Windows\Ssytem32
Utilman.exe
)Ok
andEdit permissions
Screenshots