Here you will learn how to configure your CMS to enable users to access the Polls module, to allow global polls and you will also learn how to configure which users are authorized to vote in the poll.
Access to the Polls module can be configured in CMS Desk -> Administration -> Permissions. To view the Polls module permissions matrix, you now need to select Module and Polls from the Permissions for: drop-down lists.
The following permissions can be assigned to particular roles:
•Read global - members of the given role can view global polls and their configuration, but are not allowed to make any changes to them.
•Modify global - members of the given role can create, edit and delete global polls.
•Read - members of the given role can view site polls and their configuration, but are not allowed to make any changes to them.
•Modify - members of the given role can create, edit and delete site polls.
You can configure access to the Polls module also in Site Manager -> Administration -> Permissions. However, as this is a global interface, here you will need to select also the site for which your Polls module permissions assignment applies.
By default, both global and site polls are allowed in Kentico CMS. However, if you need to restrict access to global polls on a particular website, you can disallow these polls in Site Manager -> Settings -> Content -> Polls.
For detailed information on how to configure these settings, please refer to the Website settings topic.
You can configure the poll and specify which users are authorized to vote on the Security tab of the Poll properties dialog. Here you can choose one of the following options:
•All users - any visitor can vote.
•Only authenticated users - only site members who sign in can vote.
•Only authorized roles - only authenticated members of chosen roles can vote.
Developers can customize the behavior of the Polls web part using the following web part properties:
•Check permissions - indicates if permissions for voting specified for the given poll should be checked.
•Hide to unauthorized users - hides the web part if the user is not authorized to vote.