https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25554

--- Comment #6 from Jonathan Druart <[email protected]> 
---
What about the following?

$scopes => [
  {
    scope => [ qw( branchcode ) ],
    rules => [ qw( refund ) ],
  },
  {
    scope => [ qw( branchcode categorycode ) ],
    rules => [ qw( patron_maxissueqty patron_maxonsiteissueqty max_holds ... )
],
  },
...
  {
    scope => [ qw( branchcode categorycode itemtype ) ],
    rules => [ qw( article_requests auto_renew cap_fine_to_replacement_price
...) ],
  },
];

ie you define using a different structure, then you "revert" it to generate the
existing structure.

Don't implement it yet, I am not sure I agree with myself :D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to