querier: Improve error message when ERQLExpression fails on some entity (closes #2267081)
When an RQL variable is indeed "constant" (we know it's eid) ERQL expression are
not inserted but checked prior query execution. If the session have no read
access to the entity an `Unauthorized` exception is raised.
This changeset add a meaningfull message to this exception::
No read acces on "X" with eid 42.
/* styles for input with suggestions (as for tags and keywords)
*
* :organization: Logilab
* :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
* :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
*/
div.sgform div.combobox {
z-index: 300;
margin-left: 3px;
width: 150px;
}
div.sgform div.combobox input.suggestions {
width: 100%;
}
div.sgform select{
width: 155px;
}
div.sgformbuttons {
margin-left: 3px;
}
div.sgformbuttons a {
font-weight: bold;
padding:2px 0px;
}
a.sglink {
color: #000;
font-weight: bold;
display: block;
background: url("puce.png") 98% 5px no-repeat;
margin-left: 3px;
padding: 2px 16px 2px 0px;
}
div.suggholder {
z-index: 300;
position: absolute;
}