Add missing permission check to the document duplicate scan link.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-22 00:42:37 -04:00
parent 5210fdc9d8
commit 1890ff5bee
2 changed files with 3 additions and 0 deletions

View File

@@ -69,6 +69,8 @@
- Add cascade permission check to the index rebuild tool link.
- The index rebuild tool now responds with the number of indexes
queued to rebuild instead of a static acknowledment.
- Add missing permission check to the document duplicate scan
link.
3.0.1 (2018-07-08)
=================

View File

@@ -335,6 +335,7 @@ link_document_duplicates_list = Link(
)
link_duplicated_document_scan = Link(
icon_class=icon_duplicated_document_scan,
permissions=(permission_document_tools,),
text=_('Duplicated document scan'),
view='documents:duplicated_document_scan'
)