Security Updater

  0 rating
5/8/2013 12:26:32 AM
4/17/2015 1:39:21 PM


This is something I wrote quickly which I've used on a couple of projects now so I thought it was worth sharing - you guys might find it useful (although there may be others solutions to the problem).

I find updating role security in the security editor very time consuming. Copying security from environment to environment is also quite a task especially if you don't want to package up all your content items.

This module is a simple alternative in which you define you security in Xml. The module will then use the Xml to set your security. With this Xml you can easily update security on different environments (and maintain consistency between environments), you are automatically keeping a log of all your security updates and its much quicker than clicking about in the security editor. Also Copy security from role to role easily. You can also keep your security in source control.

I don't see any reason why it wouldn't work on earlier version's of Sitecore 6 - but i haven't tested it.


  • Documentation > Install
    To install
    Simply install the package. You will find the security updater in the 'All applications' or the 'Security tools' menu.
  • Documentation > Usage
    Useage: Create Xml security Definition files
    You need to create an Xml document to define the security settings you wish to apply. 
    Within your XML you need to define rules per role you want to update the security for.

    Each rule needs an item id (Guid) to act upon, an accessright ('ItemRead', 'ItemCreate', 'LanguageRead'  etc), a propagation type ('Entity', 'Descendants' or 'Any') and finally the access permission to set 'Allow' or 'Deny'. 

    <?xml version="1.0" encoding="utf-8" ?>


        <Role name="sitecore\MyRole">

            <Rule notes="Home Item" itemid="{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}" accessright="ItemRead" propagationtype="Entity" accesspermission="Allow"></Rule>

            <Rule notes="Home Item" itemid="{110D559F-DEA5-42EA-9C1C-8A5DF7E70EF9}" accessright="ItemWrite"  propagationtype="Descendants" accesspermission="Deny"></Rule>

            <Rule notes="Account Item" itemid="{4CA4590E-1801-4B24-841E-1F84708F7492}" accessright="ItemWrite"  propagationtype="Any" accesspermission="Allow"></Rule>


  • Documentation > Runtime errors otherwise id love to write some content here
    Any issues?
    Let me know.. :-)
Release notes
Security Updater version was published on the marketplace 08/05-2013
Read more Back
Code examples

Solution screenshots(0)


Reviews (0)

Sort by: Date Most votes
  • Profile Avatar

    Level: 0

    x0 x0 x0




    Was this helpful?


Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment

Write a review

Title can't be empty
Review can't be empty
Post review


Title Description Download Action

Add File