18 Nov
2016
18 Nov
'16
2:58 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17631 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Josef Moravec from comment #3)
As I read through this patch, I have an idea - maybe silly idea ;)
But, does it make sense to you to have some method like Koha::Biblio->can_be_deleted?
Probably useful on other places like catalogue/detail for example.
Yes and no, the can_be_deleted method will only check the permission of a user, I think we should only have only 1 method for this kind of simple permissions. But have a look at Koha::Virtualshelf and search for "sub can*". -- You are receiving this mail because: You are watching all bug changes.