cubicweb #968824 transition.may_be_fired() does not catch Unauthorized [resolved]

it shows when the action box tries to build the workflow submenu and the user does not have all the read permissions to decide if the transition can be fired.


File "/usr/lib/python2.5/site-packages/cubicweb/web/", line 33, in fill_menu
  for action in self.actual_actions():
File "/usr/lib/python2.5/site-packages/cubicweb/web/views/", line 180, in actual_actions
  for tr in entity.possible_transitions():
File "/usr/lib/python2.5/site-packages/cubicweb/entities/", line 473, in possible_transitions
  if tr.may_be_fired(self.eid):
File "/usr/lib/python2.5/site-packages/cubicweb/entities/", line 210, in may_be_fired
  if rqlexpr.check_expression(self._cw, eid):
File "/usr/lib/python2.5/site-packages/cubicweb/entities/", line 189, in check_expression
  return self._rqlexpr().check(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/cubicweb/server/", line 364, in _check_permissions
  raise Unauthorized('\n'.join(msgs))
Unauthorized: remove {'X': 'Talk', 'U': 'CWUser'} from solutions since nchauvat has no read access to reviews
done in3.8.2
load left0.000
closed by<not specified>