Enable image cloning
To allow users to clone images, you need to enable image cloning in the accessrights.xml file.
To enable image cloning:
-
Open the TEXTML Administration perspective by clicking the
TEXTML Administration shortcut on the
tool bar. If the shortcut is not displayed, follow these steps:
- Select Window > Open Perspective > Other
- Click TEXTML Administration.
- Click OK.
- In the TEXTML Administration view, double-click the server. If your server is not displayed in the view, you must add it to the view.
- When the Connect as dialog opens, type your username and password and click OK.
- Double-click the name of your docbase to open a connection to the Content Store.
- Expand the Content Store's Repository node and browse to /system/conf to locate the accessrights.xml file.
- Right-click accessrights.xml and select Check Out from the menu.
- Open the file in an XML editor.
-
Locate the
Clone
action, which is inside a <method> element.For example:
<method name="Clone" type="front-end">
By default, theClone
action contains permissions for cloning topics and maps. These permissions are defined in<condition>
elements. For example, the following code shows that Authors and Information Architects can clone topics that are in the Authoring cycle:<conditionset operator="any"> <condition> <!-- Object on which action is taken --> <current> <type name="topic"> <statuses> <status>Authoring:*</status> </statuses> </type> </current> <!-- Action user must be in this list --> <users> <roles> <role name="Information Architect"/> <role name="Author"/> </roles> </users> </condition> ...
-
To enable image cloning, add a new
<condition>
element inside the <conditionset> element forClone
by copying the text below:<condition> <current> <type name="Image"> <statuses> <status>Authoring:*</status> </statuses> </type> </current> <users> <roles> <role name="Author"/> <role name="Information Architect"/> </roles> </users> </condition>
-
In the <statuses> element, specify the statuses during
which cloning images is allowed.
For example, the code above specifies that images can be cloned in all statuses of the Authoring cycle (
Authoring:*
).Note: These statuses must match statuses available in your workflow. -
In the <users>/<roles> element, specify the user
roles that are allowed to clone images.
For example, the code above specifies that images can be cloned by Authors and Information Architects.Note: These roles must match roles already configured in your deployment.
- Save, close, and check in the accessrights.xml file.
-
Inform users of the changes.
The changes will be applied automatically once users close and then reopen their . Users can also apply the changes without restarting their IXIASOFT CCMS Desktop by clicking DITA CMS > Synchronize Configuration.