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. ...@@ -39,18 +39,23 @@ information for the Folder.
</TR> </TR>
<TR><TD COLSPAN="2"><BR></TD></TR> <TR><TD COLSPAN="2"><BR></TD></TR>
<!--#if "AUTHENTICATED_USER.has_permission('Add Documents, Images, and Files',this())"-->
<TR> <TR>
<TD ALIGN="TOP" COLSPAN="2"> <TD ALIGN="TOP" COLSPAN="2">
<INPUT TYPE="CHECKBOX" NAME="createPublic:int" VALUE="1" CHECKED ID="cbCreatePublic"> <INPUT TYPE="CHECKBOX" NAME="createPublic:int" VALUE="1" CHECKED ID="cbCreatePublic">
<STRONG><LABEL FOR="cbCreatePublic">Create public interface</LABEL></STRONG> <STRONG><LABEL FOR="cbCreatePublic">Create public interface</LABEL></STRONG>
</TD> </TD>
</TR> </TR>
<!--#/if-->
<!--#if "AUTHENTICATED_USER.has_permission('Add User Folders',this())"-->
<TR> <TR>
<TD ALIGN="TOP" COLSPAN="2"> <TD ALIGN="TOP" COLSPAN="2">
<INPUT TYPE="CHECKBOX" NAME="createUserF:int" VALUE="1" CHECKED ID="cbCreateUserF"> <INPUT TYPE="CHECKBOX" NAME="createUserF:int" VALUE="1" CHECKED ID="cbCreateUserF">
<STRONG><LABEL FOR="cbCreateUserF">Create user folder</LABEL></STRONG> <STRONG><LABEL FOR="cbCreateUserF">Create user folder</LABEL></STRONG>
</TD> </TD>
</TR> </TR>
<!--#/if-->
<TR> <TR>
<TD></TD> <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