I have a staff member with permission to manage marc modification templates but they can't use it. They get Error: You do not have permission to access this page.
Same problem after upgrading to 3.22.7
Upping severity, recreated on master: To test: Set permissions for a user to have everything except some tools permission (not superlibrarian, not tools "*") Try to access marc modification templates You get 'No permission error'
Created attachment 63665 [details] [review] Bug 16295: Fix access to MMT admin page There was a typo in the permission code Test plan: Try to access the marc modification templates admin page with the marc_modification_templates permission (and not all tools permissions)
Created attachment 63666 [details] [review] [SIGNED-OFF] Bug 16295: Fix access to MMT admin page There was a typo in the permission code Test plan: Try to access the marc modification templates admin page with the marc_modification_templates permission (and not all tools permissions) Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Created attachment 63704 [details] [review] Bug 16295: Fix access to MMT admin page There was a typo in the permission code Test plan: Try to access the marc modification templates admin page with the marc_modification_templates permission (and not all tools permissions) Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Pushed to master for 17.05, thanks Jonathan!
This patch has been pushed to 16.11.x and will be in 16.11.09.
Pushed to 16.05.x, for 16.05.15 release