• Improper working of function on selection

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #29604  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
previous.png (67.3 KiB) Viewed 1594 times
but after clicking on checkbox it is permitting user to delete the file:
after.png
after.png (65.82 KiB) Viewed 1594 times
 #29623  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.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.