Commit 7e09578
authored
SG-41548 Make saveFileDialog RV command permissions check optional (#1056)
### SG-41548 Make saveFileDialog RV command permissions check optional
### Linked issues
NA
### Describe the reason for the change.
Some Windows users reported that when using the saveFileDialog() RV
command and writing on a network drive with the appropriate write
permissions, RV was incorrectly reporting that the destination directory
was not writable by the user. We were not able to reproduce this issue
which would have allowed us to find the real cause of this issue.
### Summarize your change.
This commit makes the saveFileDialog RV command permissions check prior
to saving optional if the RV_SKIP_SAVE_FILE_DIALOG_PERMISSIONS_CHECK
environment variable is set and also adds a "Try to Save Anyway" button
if the permission check fails.
Note that if the directory of the saving operation is really not
writable, then the write operation will fail.
At least this will unblock users facing this issue which seams to be
Windows + Network drive specific.
### Describe what you have tested and on which operating system.
Successfuly tested by the Windows users facing this specific Windows +
Network drive issue.
### Add a list of changes, and note any that might need special
attention during the review.
### If possible, provide screenshots.
Signed-off-by: Bernard Laberge <bernard.laberge@autodesk.com>1 parent 46a84c3 commit 7e09578
1 file changed
Lines changed: 27 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
899 | | - | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
906 | 902 | | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
916 | 925 | | |
917 | | - | |
| 926 | + | |
| 927 | + | |
918 | 928 | | |
919 | 929 | | |
920 | 930 | | |
| |||
0 commit comments