{i18n}This page shows the permissions that apply to this specific document. Where the folder view shows you information by role and group, this page shows the actual groups (and, if they are assigned directly to a role, the users) who have the different permissions. As a result, groups, users and roles with no permissions are not shown.{/i18n}
{if $edit} {i18n}Manage security{/i18n}: {i18n}View resolved permissions for user{/i18n} {/if} {if ((empty($roles) && empty($groups) && empty($users)))}| {i18n}Role or Group{/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}Role{/i18n}: {$oRole->getName()} | { assign var=iRoleId value=$oRole->getId() } { foreach item=oPerm from=$permissions } { assign var=iPermId value=$oPerm->getId() } { assign var=bHasPerm value=$aMapPermissionRole[$iPermId][$iRoleId] } { if $bHasPerm }{i18n}Allowed{/i18n} | { else }{i18n}Denied{/i18n} | { /if } { /foreach } { /foreach } { foreach item=oGroup from=$groups }{i18n}Group{/i18n}: {$oGroup->getName()} | { assign var=iGroupId value=$oGroup->getId() } { foreach item=oPerm from=$permissions } { assign var=iPermId value=$oPerm->getId() } { assign var=bHasPerm value=$aMapPermissionGroup[$iPermId][$iGroupId] } { if $bHasPerm }{i18n}Allowed{/i18n} | { else }{i18n}Denied{/i18n} | { /if } { /foreach } { /foreach } { foreach item=oUser from=$users }{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 }
|---|