Commit 1d44ff71 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix group file permission stuff for dwoo which won't iterate over objects (bug #496298)

Signed-off-by: default avatarRichard Mansfield <>
parent 8550401c
......@@ -37,15 +37,13 @@
{foreach from=$groupinfo.roles item=role key=r}
{foreach from=$groupinfo.perm item=whocares key=permid}
{if $fileinfo}
{foreach from=$fileinfo->permissions.$r item=permvalue key=permname}
<td><input type="checkbox" class="permission" name="{$prefix}_permission:{$r}:{$permname}"{if $permvalue} checked{/if}{if $r == 'admin'} disabled{/if} /></td>
<td><input type="checkbox" class="permission" name="{$prefix}_permission:{$r}:{$permid}"{if $fileinfo->permissions.$r.$permid} checked{/if}{if $r == 'admin'} disabled{/if} /></td>
{foreach from=$groupinfo.perms.$r item=permvalue key=permname}
<td><input type="checkbox" class="permission" name="{$prefix}_permission:{$r}:{$permname}" {if $r == 'admin'} checked disabled{/if}/></td>
<td><input type="checkbox" class="permission" name="{$prefix}_permission:{$r}:{$permid}" {if $r == 'admin'} checked disabled{/if}/></td>
Supports Markdown
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