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

Fixed a bug which allowed unauthorized options to be displayed when adding a...

Fixed a bug which allowed unauthorized options to be displayed when adding a Folder. Now you only see
options to add an index_document and/or a user folder if you have adequate permissions.
parent b1910c8e
......@@ -39,18 +39,23 @@ information for the Folder.
</TR>
<TR><TD COLSPAN="2"><BR></TD></TR>
<!--#if "AUTHENTICATED_USER.has_permission('Add Documents, Images, and Files',this())"-->
<TR>
<TD ALIGN="TOP" COLSPAN="2">
<INPUT TYPE="CHECKBOX" NAME="createPublic:int" VALUE="1" CHECKED ID="cbCreatePublic">
<STRONG><LABEL FOR="cbCreatePublic">Create public interface</LABEL></STRONG>
</TD>
</TR>
<!--#/if-->
<!--#if "AUTHENTICATED_USER.has_permission('Add User Folders',this())"-->
<TR>
<TD ALIGN="TOP" COLSPAN="2">
<INPUT TYPE="CHECKBOX" NAME="createUserF:int" VALUE="1" CHECKED ID="cbCreateUserF">
<STRONG><LABEL FOR="cbCreateUserF">Create user folder</LABEL></STRONG>
</TD>
</TR>
<!--#/if-->
<TR>
<TD></TD>
......
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