Fix permission for deposit link list/search view.

This commit is contained in:
Lance Edgar 2015-03-11 23:42:40 -05:00
parent a93b8a33fb
commit ab0c5bb45f

View file

@ -95,7 +95,7 @@ def includeme(config):
# list deposit links # list deposit links
config.add_view(DepositLinksGrid, route_name='depositlinks', config.add_view(DepositLinksGrid, route_name='depositlinks',
renderer='/depositlinks/index.mako', permission='depositlinks.view') renderer='/depositlinks/index.mako', permission='depositlinks.list')
# deposit link crud # deposit link crud
config.add_view(DepositLinkCrud, attr='create', route_name='depositlink.new', config.add_view(DepositLinkCrud, attr='create', route_name='depositlink.new',