Fix permission for taxes list/search view.
This commit is contained in:
parent
ab0c5bb45f
commit
5e79b132f9
|
@ -94,7 +94,7 @@ def includeme(config):
|
||||||
|
|
||||||
# list taxes
|
# list taxes
|
||||||
config.add_view(TaxesGrid, route_name='taxes',
|
config.add_view(TaxesGrid, route_name='taxes',
|
||||||
renderer='/taxes/index.mako', permission='taxes.view')
|
renderer='/taxes/index.mako', permission='taxes.list')
|
||||||
|
|
||||||
# tax crud
|
# tax crud
|
||||||
config.add_view(TaxCrud, attr='create', route_name='tax.new',
|
config.add_view(TaxCrud, attr='create', route_name='tax.new',
|
||||||
|
|
Loading…
Reference in a new issue