Do not display the permission message when deleting with the delete key

- I have used the code below to assign permissions when deleting with the delete key.

public AccessDetails GetRules(string permission)

        {

            AccessDetails accessDetails = new AccessDetails();

            List<AccessRule> accessRules = new List<AccessRule> {

                new AccessRule { Path = "/*.*", Role = "Adminstrator", Read = Permission.Allow, Write = Permission.Deny, Copy = Permission.Deny, WriteContents = Permission.Deny, Upload = Permission.Deny, Download = Permission.Deny},

                new AccessRule { Path = "/*.*", Role = "Adminstrator", Read = Permission.Allow, Write = Permission.Deny, Copy = Permission.Deny, WriteContents = Permission.Deny, Upload = Permission.Deny, Download = Permission.Deny, IsFile=true},

            };

            accessDetails.AccessRules = accessRules;

            accessDetails.Role = "Adminstrator";

            return accessDetails;

        }

If I choose to delete by clicking Delete in MenuContent on File Manager, the system returns an error message.


However, if I delete the file with the delete key, the system is always loading



11 Replies

SS Sivakumar ShunmugaSundaram Syncfusion Team April 18, 2022 04:29 PM UTC

Hi Pham,


We have validated your reported issue by preparing a Blazor FileManager sample with Access Control. While performing a delete operation through the Toolbar/Context Menu, the permission denied error will occur immediately. But deletion using the keyboard key initially shows a "yes or no" confirmation dialogue and then shows a permission denied message. This is the default behavior. Please check the attached sample for reference.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/FileManager-474924465-995352539.zip


Screenshot:


If we misunderstood your requirement, replicate the issue in the shared sample. It would help us provide a prompt solution. Please let us know if you need any further assistance.


Regards,

Sivakumar S



PN Pham Ngoc replied to Sivakumar ShunmugaSundaram April 19, 2022 03:00 AM UTC

Hi Sivakumar S ,

If you pass in a dynamic link, you will get an error like mine




Regards,

Pham Ngoc



SS Sivakumar ShunmugaSundaram Syncfusion Team April 20, 2022 02:04 PM UTC

Hi Pham,


We have validated your reported issue in the Blazor FileManager sample with a shared code snippet. We were unable to replicate the issue for the first time, but for the second time, we were able to face the issue while clicking the delete key. Please confirm this is the exact issue you are facing or else whether the issue occurs at the initial time at your end. These details would help us with further validation of the issue.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/FileManager-474924465-883460133.zip


Please check the shared sample and get back to us with the required details.


Regards,

Sivakumar S



PN Pham Ngoc replied to Sivakumar ShunmugaSundaram April 21, 2022 01:34 AM UTC

Hi Sivakumar S ,

Yes, this is my problem. I have attached the source for you.

Could you please help me check. Thanks




Attachment: FileManager_4b726422.zip


SS Sivakumar ShunmugaSundaram Syncfusion Team April 21, 2022 04:15 PM UTC

Hi Pham,


Thanks for the confirmation. We are facing the reported issue only when the additional string is passed to the server. So, we need some additional time for this validation to identify the exact root cause. We will update you with further details on April 26, 2022.


Regards,

Sivakumar S



PN Pham Ngoc replied to Sivakumar ShunmugaSundaram April 22, 2022 08:16 AM UTC

Ok, Thanks Sivakumar S.




SS Sivakumar ShunmugaSundaram Syncfusion Team April 26, 2022 05:03 PM UTC

Hi Pham,

  

We have validated the reported issue in the Blazor FileManager component and considered it as a bug at our end. The fix for this issue will be included in our weekly patch release on May 24, 2022. You can track the status of the issue fix using the following feedback link.


https://www.syncfusion.com/feedback/34468/need-to-fix-the-keyboard-delete-key-operation-issue-in-the-blazor-filemanager


We appreciate your patience.


Regards,

Sivakumar S



PN Pham Ngoc replied to Sivakumar ShunmugaSundaram April 27, 2022 04:26 AM UTC

Ok, Thank  Sivakumar 



RP Ranjani Prabakaran Syncfusion Team April 28, 2022 05:11 AM UTC

Hi Pham,


You are welcome. As promised earlier, we will provide the fix for the reported issue on May 24th.


Regards,


Ranjani



IL Indhumathy Loganathan Syncfusion Team May 26, 2022 08:14 AM UTC

Hi Pham,


Sorry for the inconvenience.


Based on the level of priority, we are sorry that the issue “Need to fix the keyboard delete key operation issue in the Blazor FileManager component” isn’t included as promised. We are working on this with high priority. This fix will be included in the weekly patch release on June 14, 2022.


We appreciate your patience.


Regards,

Indhumathy L



PM Prasanth Madhaiyan Syncfusion Team June 15, 2022 12:43 PM UTC

Hi Pham,


Thanks for your patience.


We are glad to announce that our patch release (V20.1.60) has been rolled out successfully. The issue “Need to fix the keyboard delete key operation issue in the Blazor FileManager component” has been resolved in this release. To access this fix, we suggest you update the package to the 20.1.60.


Please find the sample from below link.


Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/FileManager1968750793.zip


Release notes: https://blazor.syncfusion.com/documentation/release-notes/20.1.60?type=all#file-manager


Feedback : https://www.syncfusion.com/feedback/34468/need-to-fix-the-keyboard-delete-key-operation-issue-in-the-blazor-filemanager


Please let us know if you need any further assistance.


Regards,

Prasanth Madhaiyan.


Loader.
Up arrow icon