Kentico CMS 7.0 Developer's Guide

Security

Security

Previous topic Next topic Mail us feedback on this topic!  

Security

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

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

 

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.

 

devguide_clip0429

 

 

 

Please note

 

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.

 

 

Access to global polls

 

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.

 

devguide_clip0616

 

For detailed information on how to configure these settings, please refer to the Website settings topic.

 

Access to voting

 

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.

 

devguide_clip2093

 

 

 

Please note

 

To ensure that the same visitor (using the same browser) cannot vote twice in the same poll, the Polls module uses cookies.

 

 

Other security settings

 

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.