14 Jan
2022
14 Jan
'22
8:45 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29523 --- Comment #41 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- +sub is_accessible_in_context { + my ( $self, $params ) = @_; + + # FIXME? It felt tempting to return 0 instead + # but it would mean needing to explicitly add the 'user' + # param in all tests... + return 1 + unless $params->{user}; + + my $consumer = $params->{user}; + return $consumer->can_see_patron_infos($self); +} User, consumer, patron. Unclear. The FIXME tells me that we should think a little bit more about what we really want to do here? We should obviously try to avoid adding it like this. -- You are receiving this mail because: You are watching all bug changes.