Configure approval systems by editing votingsystems.xml
You configure the approval systems available to end users in the Manage Roles window by editing the votingsystems.xml file.
By default, three approval systems are available in the Manage Roles window:
- Unanimous: All users in this role must approve a document or image before it can pass to the next status.
- Simple majority: A majority of users must approve a document or image before it can pass to the next status. By default, this means that more than 50% of users must approve this document before it can pass to the next status.
- Single approval: A document or image can pass to the next status once any user in this role has approved it.
The following code shows the default votingsystems.xml
file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE votingsystems PUBLIC "-//ixiasoft.com//cms//config//votingsystems" "votingsystems.dtd">
<votingsystems default="Unanimous">
<votingsystem name="Unanimous" restrictiveness="2147483647"><!-- Max INT -->
<greaterorequal>100%</greaterorequal>
</votingsystem>
<votingsystem name="Simple Majority" restrictiveness="0">
<greater>50%</greater>
</votingsystem>
<votingsystem name="Single Approval" restrictiveness="-2147483648"><!-- Min INT -->
<greater>0%</greater>
</votingsystem>
</votingsystems>
You edit the votingsystems.xml file to change the percentage of votes needed for an approval system or to create a new approval system. For example, you could create a "Critical majority" approval system for critical topics that must be approved by 80% or more users.
To configure the approval systems that will be used for your deployment: