cubicweb #2573970 change impl. of anonymous login rejection if anonymous login is not authorized [deprecated]

see. path:

Traceback (most recent call last):
  File "/home/auc/confs/forges/cubicweb/cwvreg.py", line 386, in main_template
    res = obj.render(**kwargs)
  File "/home/auc/confs/forges/cubicweb/view.py", line 176, in render
    view_func(**context)
  File "/home/auc/confs/forges/cubicweb/web/views/basetemplates.py", line 147, in call
    view.render(w=w)
  File "/home/auc/confs/forges/cubicweb/view.py", line 176, in render
    view_func(**context)
  File "/home/auc/confs/forges/cubicweb/web/views/startup.py", line 67, in call
    self.entities()
  File "/home/auc/confs/forges/cubicweb/web/views/startup.py", line 111, in entities
    self.entity_types_table(eschemas)
  File "/home/auc/confs/forges/cubicweb/web/views/startup.py", line 116, in entity_types_table
    key=lambda (l,a,e): unormalize(l))
  File "/home/auc/confs/forges/cubicweb/web/views/startup.py", line 134, in entity_types
    if eschema.final or not eschema.may_have_permission('read', req):
  File "/home/auc/confs/forges/cubicweb/schema.py", line 261, in may_have_permission
    return self.has_local_role(action) or self.has_perm(req, action)
  File "/home/auc/confs/forges/cubicweb/schema.py", line 267, in has_perm
    self.check_perm(_cw, action, **kwargs)
  File "/home/auc/confs/forges/cubicweb/schema.py", line 279, in check_perm
    if _cw.user.matching_groups(groups):
  File "/home/auc/confs/forges/cubicweb/dbapi.py", line 259, in __getattribute__
    raise AuthenticationError()
AuthenticationError

(the mind boggles)

priorityimportant
typeenhancement
done in3.20.0
load0.000
load left0.000
closed by<not specified>