Commit 7b76cc3b authored by Amos Latteier's avatar Amos Latteier

Hide the delete button if the user doesn't have 'Delete objects' permission....

Hide the delete button if the user doesn't have 'Delete objects' permission. Hide the export button if the user doesn't have the 'Import/Export objects' permission.
parent 3734f2b1
......@@ -53,8 +53,12 @@
<INPUT TYPE="SUBMIT" NAME="manage_pasteObjects:method" VALUE="Paste">
<!--#/if-->
<!--#/unless-->
<!--#if "AUTHENTICATED_USER.has_permission('Delete objects', this())"-->
<INPUT TYPE="SUBMIT" NAME="manage_delObjects:method" VALUE="Delete">
<!--#/if-->
<!--#if "AUTHENTICATED_USER.has_permission('Import/Export objects', this())"-->
<INPUT TYPE="SUBMIT" NAME="manage_importExportForm:method" VALUE="Export...">
<!--#/if-->
</TD>
</TR>
</TABLE>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment