|
||
This feature can be used to define special types of user membership for the website (or globally for all sites in the system).
Within the security model of Kentico CMS, membership objects perform a function similar to roles. Users that belong to memberships are authorized to perform certain actions on the website, access secured content or similar. However, memberships do not directly allow individual permissions, but instead group together one or more existing roles. When a membership is assigned, it grants the given user the sum of all permissions defined for the contained roles. To learn how memberships can be created, configured and assigned to users in the administration interface, please proceed to the Managing memberships topic.
Typically, a membership will be associated with a certain product, which can then be purchased by users through the website's e‑commerce features. This will allow them to gain access to restricted sections of the website or other types of premium content for a specified amount of time. For additional information about how you can offer various types of website membership as products, please see the Product types -> Membership topic in the E-commerce Guide.
|
Memberships versus roles
Memberships are mainly intended to be used in combination with e‑commerce for live site users and customers, or for other specific purposes where an additional security layer that groups together multiple roles is useful.
If you need to define authorization options for different types of users, such as content editors or administrators for specific modules, it is recommended to do so directly using standard roles. |