More in this section

Forums / Developing with Sitefinity / Permissions button on Intra-Site Module

Permissions button on Intra-Site Module

2 posts, 0 answered
  1. Thomas Stringham
    Thomas Stringham avatar
    1 posts
    Registered:
    04 Feb 2010
    15 Feb 2010
    Link to this post
    Hi,
    What's the best way to implement the "Permissions" button (Define who is allowed to read, edit and delete items. ) on an intra-site module (I created this module according to the video from tv.telerik.com), I have read a topic "Secured Intra-Site Module with LINQ Provider" (http://www.sitefinity.com/help/developer-manual/intra-linq-secured.html) but this seems very complex if I need to do it for many intra-site modules.
    Thanks,
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Feb 2010
    Link to this post
    Hello Thomas Stringham,

    I suggest that you should take a look at these posts and the whole implementation provided there.

    Sample intra site module: Contacts intra site module
    Sample pluggable module: Contacts pluggable module
    Sample Generic Content based module: Products module

    The samples above are based on the new backend architecture. Each of them shows how to implement custom permissions. If you use GenericContent based module you could just inherit from SecuredModule and then from the PermissionsView which is a base class. This will save you lot of time and it is useful when you want to have similar module like News, GenericContent, Events, Blogs. Each of these modules implements the base PermissionsView class.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered