Bug 13890 - Switch from full serials permission to 'routing' permission for reorderin...
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 22 Mar 2015 21:07:32 +0000 (22:07 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 31 Mar 2015 14:33:23 +0000 (11:33 -0300)
commit889e1953ec7fa07c4778918de9de8952c660d22e
tree6887a4bbd9df136e469f9420d7a0ae01d3beb6a8
parentb7d5ce5f9a696e4d88a4c9df090a8d8918af6364
Bug 13890 - Switch from full serials permission to 'routing' permission for reordering routing lists

For changing the sequence of patrons on a routing list by changing
one of the numbers via the pull downs, full serial permission is needed:

To test:
- Give your patron full serial permissions
- Create a subscription and a routing list for it
- Change the sequence on the routing list using the pull downs
- Verify this works
- Remove any of the serial sub permissions (claim serials or similar)
- Verify changing the sequence now results in a permission error
- Apply patch
- Verify that the permission error is gone now
- Remove the routing permission
- Verify the permission error is back (but this seems to make sense)

In general more fixes would be required to make all routing related
features depend on the routing permission, but I think this fixes
the bug making it depend on the correct permission.

Followed test plan. Works as expected.
Signed-off-by: Marc Veron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
serials/reorder_members.pl