{i18n}This page shows the permissions that individual users have on this document. Only the users which have permissions assigned are shown.{/i18n}
{i18n}Users may have permissions on this document due to membership of a group, or fulfilling a specific role on this document.{/i18n}
{if (empty($users)) }| {i18n}User{/i18n} | { foreach item=oPerm from=$permissions }{$oPerm->getHumanName()}{assign var=iPermId value=$oPerm->getId()}
{if ($workflow_controls.$iPermId)} (workflow controlled){/if} {if ($conditions_control.$iPermId)} (condition affected){/if} |
{ /foreach }
{i18n}User: {/i18n} {$oUser->getName()} | { assign var=iUserId value=$oUser->getId() } { foreach item=oPerm from=$permissions } { assign var=iPermId value=$oPerm->getId() } { assign var=bHasPerm value=$aMapPermissionUser[$iPermId][$iUserId] } { if $bHasPerm }{i18n}Allowed{/i18n} | { else }{i18n}Denied{/i18n} | { /if } { /foreach } { /foreach }
|---|