Fix permission for taxes list/search view.

This commit is contained in:
Lance Edgar 2015-03-11 23:44:27 -05:00
parent ab0c5bb45f
commit 5e79b132f9

View file

@ -94,7 +94,7 @@ def includeme(config):
# list taxes
config.add_view(TaxesGrid, route_name='taxes',
renderer='/taxes/index.mako', permission='taxes.view')
renderer='/taxes/index.mako', permission='taxes.list')
# tax crud
config.add_view(TaxCrud, attr='create', route_name='tax.new',