Closed GoogleCodeExporter closed 9 years ago
It is considered a feature - however I am accepting the bug to ensure that I
remember to address it in the documentation. The reason for the behaviour is
that to ensure access is permitted to all quantities required in the query
could lead to very time consuming queries. Some cases leading to unexpectedly
long queries have already been reported by Tom and I don't want to make matters
considerably worse by adding all these extra clauses to the JPQL query that I
generate and which in turn is converted to SQL. Do you have a real use case for
checking read access to all the information used in evaluating the query rather
than just the returned results?
Original comment by dr.s.m.f...@gmail.com
on 10 Mar 2014 at 1:09
The issue causes ICAT to leak all sorts of information on all investigations to
all users. There is currently no practical way to prevent this by access
rules. All it takes is read permission on the instruments and some creativity
on formulating smart queries to get any information on the investigations.
We at HZB haven't setup our data policy yet, but I guess we will have at least
some period of time where read access to investigation data should be limited
exclusively to the investigators. So the use case would be an investigation in
the ICAT that should not be public.
I'm well aware that performance is an issue here and I do not claim that I'm
able to suggest a solution. I merely state that we do have a problem.
Original comment by rolf.kr...@helmholtz-berlin.de
on 12 Mar 2014 at 8:22
I think the only thing you can do is to determine if something is true. For
example you can find out if there is an Investigation with a certain word in
its name or description - but you cannot then see the context. I think that
this should be sufficient for most people. Perhaps we should discuss this in
Dublin as the meeting has currently a rather light agenda.
Steve
Original comment by dr.s.m.f...@gmail.com
on 13 Mar 2014 at 10:00
As there has been no more discussion I am marking this as WontFix
Steve
Original comment by dr.s.m.f...@gmail.com
on 8 Apr 2014 at 5:16
Original issue reported on code.google.com by
rolf.kr...@helmholtz-berlin.de
on 3 Mar 2014 at 4:43