Improper working of function on selection
PostPosted:Tue Aug 19, 2014 6:28 am
by mohasinmujawar56
I am using OpenKM 6.2 as well as 6.3.0 and running on Windows Server 2003 as well as on Windows 7 PC. The problem I found is if a user doesn't have right to delete a document or a folder then for normal(without checking the checkbox) it is working fine but if i click on checkbox for multiple selection then though the user doesn't have right to delete the document still he can delete a single document or multiple documents as well as folders.
I am attaching the screenshot of the problem.
without clicking checkbox it is working correctly:
previous.png (67.3 KiB) Viewed 1596 times
but after clicking on checkbox it is permitting user to delete the file:
after.png (65.82 KiB) Viewed 1596 times
Re: Improper working of function on selection
PostPosted:Fri Aug 22, 2014 8:58 am
by jllort
This is not exact. When there's no checkbox selecting, really is evaluating if user can delete or not the object. When you use the checkbox, this evaluation is not node ( will be quite complex evaluate all selected objects, and althought we could implement int we though can generate confusion image you select 20 documents, one without delete grants, what do in this case -> the logic seems disable delete icon, but which of the 20 files really generate the problem, you should revise one by one, or we should mark in some way -> going into fantasy ). Sincerally too much complex, the thought on a more simply way to solve it, simply we mark as you're able to delete ( for example the 20 checked files ) but when you execute it you'll get raised error on files what really can not be deleted.
The idea we proposed is: Got icon enabled on massive selection does not means you'll be able to do the operation. Try doing it, and if there's some problem ( for example permissions ), then the error will be raised.