https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28948 --- Comment #14 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Please, keep in mind that the API already has input/output validation, specified in the OpenAPI spec. That's why this dev was originally simple and only included a list of attributes for the 'public' context. Also, this allowed for easy implementation of calculated lists: frameworks telling what item structure to hide? Sysprefs? Also, keep in mind that public and staff are not the only representations we might want for resources: we could have a 'brief' representation to be used in dropdowns (id+name). I mention it, because that's where the simplicity came from. For what is worth, I think we should do use base wq(Koha::Object Koha::Object::AllowList) And have AllowList just read the library's defined lists... I mean not implementing a new AllowList class for each thing -- You are receiving this mail because: You are watching all bug changes.