More in this section

Forums / Developing with Sitefinity / Permissions in Custom Modules?

Permissions in Custom Modules?

2 posts, 0 answered
  1. SteveV
    SteveV avatar
    178 posts
    Registered:
    06 Nov 2011
    23 Jun 2012
    Link to this post
    I have a number of custom modules (from code not the module builder) and I'm looking for docs and examples on setting user permissions.  I've searched the forums and have managed to find very little for SF 4/5.

    Currently, when a user with designer permissions is logged in and they select a custom module from the Backend "Content" dropdown, the module admin page is displayed but the item list is not shown.   Effectively, they can't see, add, or edit module content items.  All items display as expected when admin users access the same backend pages.

    Any pointers/docs/advice would be greatly appreciated.

    Thanks--Steve
  2. SteveV
    SteveV avatar
    178 posts
    Registered:
    06 Nov 2011
    24 Jun 2012
    Link to this post
    Hmm, looks like it might be as easy as calling  pageManager.SetControlDefaultPermissions(ctrl) on the module's  add/edit, admin, and view controls.
2 posts, 0 answered