{* * $Revision: 1.19 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}
{g->text text="Each item has its own independent set of permissions. Changing the parent's permissions has no effect on the permissions of the child. This allows you to restrict access to the parent of this item, but still grant full access to this item, or vice versa. The most efficient way to use this permission system is to create groups and assign permissions to them. Then if you want to grant permissions to a specific user, you can add (or remove) the user from the appropriate group."}
{if empty($ItemPermissions.owner.fullName)} {g->text text="This item is owned by user: %s" arg1=$ItemPermissions.owner.userName} {else} {g->text text="This item is owned by user: %s (%s)" arg1=$ItemPermissions.owner.userName arg2=$ItemPermissions.owner.fullName} {/if}
{if $ItemPermissions.can.changeOwner}{g->text text="Apply new owner to sub-items"}
{/if} {if !empty($form.error.owner.missingUser)}{g->text text="This item has sub-items. The changes you make here can be applied to just this item, or you can apply them to all sub-items. Note that applying changes to sub-items will merge your change into the existing permissions of the sub-items and may be very time consuming if you have many sub-items. It's more efficient to grant permissions to groups and then add and remove users from groups whenever possible. Changes are applied to sub-items by default."}
| {g->text text="Group name"} | {g->text text="Permission"} | {if $ItemPermissions.can.changePermissions}{g->text text="Action"} | {/if}
|---|---|---|
| {$entry.group.groupName} | {$entry.permission.description} | {if $ItemPermissions.can.changePermissions}{if !empty($entry.deleteList)} {else} {/if} | {/if}
| {g->text text="User name"} | {g->text text="Permission"} | {if $ItemPermissions.can.changePermissions}{g->text text="Action"} | {/if}
|---|---|---|
| {$entry.user.userName} | {$entry.permission.description} | {if $ItemPermissions.can.changePermissions}{if !empty($entry.deleteList)} {else} {/if} | {/if}