1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 01:40:59 +00:00
serenity/Userland/Applications/FileManager
Leonardo Nicolas 9aa0cf3265 FileManager: Do not allow rename files that cannot be modified
Pressing the F2 key on files that the user doesn't have permission was
opening the file name for editing.

This patch fixes the issue disabling the file name editing when the user
doesn't have permission to do it.

To reproduce the issue:

1) Open the File Manager
2) Click on the /etc directory
3) Select any file
4) Press the F2 key
5) Update the file name
2022-01-09 00:47:48 +01:00
..
CMakeLists.txt FileManager: Port to LibMain :^) 2021-11-22 23:52:47 +01:00
DesktopWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DesktopWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DirectoryView.cpp FileManager: Do not allow rename files that cannot be modified 2022-01-09 00:47:48 +01:00
DirectoryView.h FileManager: Do not allow rename files that cannot be modified 2022-01-09 00:47:48 +01:00
FileManagerWindow.gml FileManager: Set minimum folder pane width 2021-05-13 00:43:41 +01:00
FileOperationProgress.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
FileOperationProgressWidget.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
FileOperationProgressWidget.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
FileUtils.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
FileUtils.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
main.cpp FileManager: Show Dotfiles when passing a Dotfile as an argument 2022-01-05 15:20:54 -08:00
PropertiesWindow.cpp LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file() 2021-11-08 00:35:27 +01:00
PropertiesWindow.h FileManager+FileOperation: Switch to east const 2021-07-22 12:48:44 +02:00
PropertiesWindowGeneralTab.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00