Opened 16 years ago
Closed 16 years ago
#1142 closed enhancement (fixed)
Batch importer plug-ins should handle lack of USE permission better
Reported by: | Nicklas Nordborg | Owned by: | Martin Svensson |
---|---|---|---|
Priority: | major | Milestone: | BASE 2.9 |
Component: | coreplugins | Version: | |
Keywords: | Cc: |
Description
The current implementation of the batch importer simply ignores all items that the logged in user doesn't have permission to use. The result is that this is reported as an ItemNotFoundException which may be confusing because if the user has READ permission it is visible in listings and other places.
It would be better if the items were loaded and the permission checked. An error handling option to handle this must be added with the same options as for the item-not-found case.
In addition, the code that handles multiple found items should be able to handle the case were only one of the items found can be used. This case should transparently be transformed into the single-item-found case.
Change History (4)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
There are two more cases where the permission handling can be improved.
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
(In [4595]) Fixes #1142 Batch importer plug-ins should handle lack of USE permission better.