Create an access right for the Spell Checker feature

If you need to limit access to the Spell Checker feature for maps and topics, you must create a new access right.

The CCMS does not include an access right for the Spell Checker feature. By default, the action is available for all users. If you want to limit the roles or groups who can confirm the spelling of words within topics and maps, you must create a new method in the accessrights.xml configuration file.

The new method applies to both CCMS Web and CCMS Desktop.

With access right Without access right
CCMS Web

The Spell Checker menu option is available from a map's More Options menu.

Results appear in the Spell Checker side panel for topics.

The Spell Checker menu option is not available from a map's More Options menu.

No results appear in the Spell Checker side panel for topics.

CCMS Desktop

The Spellcheck option is available as a right-click menu option for a map or topic.

The Spellcheck option is not available as a right-click menu option for a map or topic.

  1. Check out and open accessrights.xml.
  2. Add the new method.
    <method name="Spellcheck" type="front-end" hide-when-disabled="true">
    	<!-- determines if a notification email should be sent when this action is taken -->
    	<notify enabled="false"/>
    	<!-- To be enabled or runnable the condition set must return true -->
    	<!-- possible operator are any (One of the condition must match)-->
    	<conditionset operator="any">
    		<condition>
    			<!-- Object on which action is taken -->
    			<current>
    				<type name="topic">
    					<statuses>
    						<status>Authoring:*</status>
    					</statuses>
    				</type>
    				<type name="map">
    					<statuses>
    						<status>Authoring:*</status>
    					</statuses>
    				</type>
    			</current>
    			<!-- Action user must be in this list -->
    			<users>
    				<roles/>
    				<groups>
    					<group name="Everyone"/>
    				</groups>
    			</users>
    		</condition>
    	</conditionset>
    </method>
    Important:
    • The method must have the name Spellcheck, as shown.
    • The method must only specify the Authoring cycle, as shown.
  3. Specify the role and groups you want to have the ability to confirm the spelling for each object.
  4. Save and check in accessrights.xml.
  5. Refresh the Web Server.