<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error occuring while Creating Site roles in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113801#M31641</link>
    <description>&lt;P&gt;You would be getting this error on existing site, its likely. Have you tried new site and getting same error ? "&lt;EM&gt;&lt;STRONG&gt;GROUP_site_AvivaWorld_NewDocumentEditor&lt;/STRONG&gt;&lt;/EM&gt;" must exist for the site. AvivaWorld is the site i suppose.&lt;/P&gt;
&lt;P&gt;Refer this post and follow the instructions to fix the missing groups for existing sites:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/ecm-archive/howto-custom-permissions-in-alf-community-5-0-d/m-p/204986/highlight/true#M109434" target="_blank" rel="noopener nofollow noreferrer"&gt;https://hub.alfresco.com/t5/ecm-archive/howto-custom-permissions-in-alf-community-5-0-d/m-p/204986/highlight/true#M109434&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://issues.alfresco.com/jira/secure/attachment/54733/fixsiteauthorities.zip" target="_blank" rel="noopener nofollow noreferrer"&gt;https://issues.alfresco.com/jira/secure/attachment/54733/fixsiteauthorities.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/ecm-archive/custom-role-creation-crashes-old-sites/m-p/29416/highlight/true#M16039" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/ecm-archive/custom-role-creation-crashes-old-sites/m-p/29416/highlight/true#M16039&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 22:31:06 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2020-05-20T22:31:06Z</dc:date>
    <item>
      <title>Error occuring while Creating Site roles</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113799#M31639</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am creating custom role for site but it shows error of Authority related to role associated with site.&lt;/P&gt;&lt;P&gt;Here i am providing custom sitepermissiondefinition.xml whuch i have created for creating custom site roles.&lt;/P&gt;&lt;P&gt;I am getting following error though role is visible but cant add users to that custom roles:-&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;EM&gt;&lt;STRONG&gt;04190003 Wrapped Exception (with status template): 04190020 An authority was not found for GROUP_site_AvivaWorld_NewDocumentEditor&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;
&amp;lt;!DOCTYPE permissions &amp;gt;
&amp;lt;permissions&amp;gt;
        &amp;lt;!-- Namespaces used in type references --&amp;gt;
       &amp;lt;namespaces&amp;gt;
      &amp;lt;namespace uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/&amp;gt;
      &amp;lt;namespace uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/&amp;gt;
      &amp;lt;namespace uri="http://www.alfresco.org/model/site/1.0" prefix="st"/&amp;gt;
   &amp;lt;/namespaces&amp;gt;
    &amp;lt;permissionSet type="sys:base" expose="all" &amp;gt;
    
      
      &amp;lt;permissionGroup name="FullControl" expose="true" allowFullControl="true" /&amp;gt;
 
      &amp;lt;!-- ============================================= --&amp;gt;
      &amp;lt;!-- Convenient groupings of low level permissions --&amp;gt;
      &amp;lt;!-- ============================================= --&amp;gt;
      
      &amp;lt;permissionGroup name="Read"  expose="true" allowFullControl="false"&amp;gt;
           &amp;lt;includePermissionGroup type="sys:base" permissionGroup="ReadProperties"/&amp;gt;
           &amp;lt;includePermissionGroup type="sys:base" permissionGroup="ReadChildren"/&amp;gt;
           &amp;lt;includePermissionGroup type="sys:base" permissionGroup="ReadContent"/&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
       
      &amp;lt;permissionGroup name="Write" expose="true" allowFullControl="false"&amp;gt;
           &amp;lt;includePermissionGroup type="sys:base" permissionGroup="WriteProperties"/&amp;gt;
           &amp;lt;includePermissionGroup type="sys:base" permissionGroup="WriteContent"/&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;  
       
      &amp;lt;permissionGroup name="Delete" expose="true" allowFullControl="false"&amp;gt;
           &amp;lt;includePermissionGroup type="sys:base" permissionGroup="DeleteNode"/&amp;gt;
           &amp;lt;includePermissionGroup type="sys:base" permissionGroup="DeleteChildren"/&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
       
      &amp;lt;permissionGroup name="AddChildren" expose="true" allowFullControl="false"&amp;gt;
           &amp;lt;includePermissionGroup type="sys:base" permissionGroup="CreateChildren"/&amp;gt;
           &amp;lt;includePermissionGroup type="sys:base" permissionGroup="LinkChildren"/&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
       
      &amp;lt;permissionGroup name="Execute" allowFullControl="false" expose="false"&amp;gt;
          &amp;lt;includePermissionGroup type="sys:base" permissionGroup="ExecuteContent"/&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
       
      &amp;lt;!-- Groups for low level permissions --&amp;gt;
       
      &amp;lt;permissionGroup name="ReadProperties" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="ReadChildren" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="WriteProperties" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="ReadContent" expose="false" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="WriteContent" expose="false" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="ExecuteContent" expose="false" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="DeleteNode" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="DeleteChildren" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="CreateChildren" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="LinkChildren" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="DeleteAssociations" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="ReadAssociations" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="CreateAssociations" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="ReadPermissions" expose="true" allowFullControl="false" /&amp;gt;  
      &amp;lt;permissionGroup name="ChangePermissions" expose="true" allowFullControl="false" /&amp;gt;  
    
      &amp;lt;permission name="_ReadProperties" expose="false" &amp;gt;
         &amp;lt;grantedToGroup permissionGroup="ReadProperties" /&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
         --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- The permission to read the children of a node                                 --&amp;gt;
      &amp;lt;!--                                                                               --&amp;gt;
      &amp;lt;!-- This permission is recursive. It requires the same permission is granted to   --&amp;gt;
      &amp;lt;!-- all of the parent nodes from which this node inherits permissions             --&amp;gt;
      &amp;lt;!--                                                                               --&amp;gt;
      
      &amp;lt;permission name="_ReadChildren" expose="false" &amp;gt;
         &amp;lt;grantedToGroup permissionGroup="ReadChildren" /&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
         --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- The permission to write to the properties of a node                           --&amp;gt;
      &amp;lt;!--                                                                               --&amp;gt;
      &amp;lt;!-- This permission includes adding aspects to a node as they are stored as       --&amp;gt;
      &amp;lt;!-- a property.                                                                   --&amp;gt;
      &amp;lt;!--                                                                               --&amp;gt;
      
      &amp;lt;permission name="_WriteProperties" expose="false" &amp;gt;
         &amp;lt;grantedToGroup permissionGroup="WriteProperties" /&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
         --&amp;gt;
      &amp;lt;/permission&amp;gt;
                                       --&amp;gt;
      
      &amp;lt;permission name="_ReadContent" expose="false"&amp;gt;
         &amp;lt;grantedToGroup permissionGroup="ReadContent"/&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
         --&amp;gt;
      &amp;lt;/permission&amp;gt;

      &amp;lt;!-- The permission to write content.                                              --&amp;gt;
      
      &amp;lt;permission name="_WriteContent" expose="false"&amp;gt;
         &amp;lt;grantedToGroup permissionGroup="WriteContent" /&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
         --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- Execute permission on content.                                                --&amp;gt;
      
      &amp;lt;permission name="_ExecuteContent" expose="false"&amp;gt;
         &amp;lt;grantedToGroup permissionGroup="ExecuteContent" /&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
         --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;permission name="_DeleteNode" expose="false" &amp;gt;
         &amp;lt;grantedToGroup permissionGroup="DeleteNode" /&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
         &amp;lt;requiredPermission on="parent" name="_DeleteChildren" implies="false"/&amp;gt;
         &amp;lt;requiredPermission on="node" name="_DeleteChildren" implies="false"/&amp;gt;
         --&amp;gt;
         &amp;lt;!-- Remove the recursive check for now for performance --&amp;gt;
         &amp;lt;!-- TODO: have one permission to check for delete on an item and one to check  --&amp;gt;
         &amp;lt;!--       child permissions when delete is called on the node service          --&amp;gt; 
         &amp;lt;!--  &amp;lt;requiredPermission on="children" name="_DeleteNode" implies="false"/&amp;gt;     --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      
      &amp;lt;!-- The permission to delete children of a node                                   --&amp;gt;
      &amp;lt;!--                                                                               --&amp;gt;
      &amp;lt;!-- At the moment this includes both unlink and delete                            --&amp;gt;
      &amp;lt;!--                                                                               --&amp;gt;
      &amp;lt;permission name="_DeleteChildren" expose="false" &amp;gt;
         &amp;lt;grantedToGroup permissionGroup="DeleteChildren" /&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
         --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- The permission to create new nodes                                            --&amp;gt;
      
      &amp;lt;permission name="_CreateChildren" expose="false" &amp;gt;
         &amp;lt;grantedToGroup permissionGroup="CreateChildren" /&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false" /&amp;gt;
         --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- The permission to link nodes                                                  --&amp;gt;
      
      &amp;lt;permission name="_LinkChildren" expose="false" &amp;gt;
         &amp;lt;grantedToGroup permissionGroup="LinkChildren" /&amp;gt;
         &amp;lt;!-- Commented out parent permission check ...
         &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
         --&amp;gt;
      &amp;lt;/permission&amp;gt;
     
     &amp;lt;!-- The permission to delte associations between nodes (not children)              --&amp;gt;
     
      &amp;lt;permission name="_DeleteAssociations" expose="false" &amp;gt;
        &amp;lt;grantedToGroup permissionGroup="DeleteAssociations" /&amp;gt;
        &amp;lt;!-- Commented out parent permission check ...
        &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
        --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- The permission to read associations                                           --&amp;gt;
      
      &amp;lt;permission name="_ReadAssociations" expose="false" &amp;gt;
        &amp;lt;grantedToGroup permissionGroup="ReadAssociations" /&amp;gt;
        &amp;lt;!-- Commented out parent permission check ...
        &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false" /&amp;gt;
        --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- The permission to create associations                                         --&amp;gt;
      
      &amp;lt;permission name="_CreateAssociations" expose="false" &amp;gt;
        &amp;lt;grantedToGroup permissionGroup="CreateAssociations" /&amp;gt;
        &amp;lt;!-- Commented out parent permission check ...
        &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false" /&amp;gt;
        --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- ==================================================== --&amp;gt;
      &amp;lt;!-- Permissions related to the management of permissions --&amp;gt;
      &amp;lt;!-- ==================================================== --&amp;gt;
      
      &amp;lt;!-- The permission to read the permissions on a node                              --&amp;gt;
      
      &amp;lt;permission name="_ReadPermissions" expose="false" &amp;gt;
        &amp;lt;grantedToGroup permissionGroup="ReadPermissions" /&amp;gt;
        &amp;lt;!-- Commented out parent permission check ...
        &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
        --&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- The permission to the change the permissions associated with a node           --&amp;gt;
      
      &amp;lt;permission name="_ChangePermissions" expose="false" &amp;gt;
        &amp;lt;grantedToGroup permissionGroup="ChangePermissions" /&amp;gt;
        &amp;lt;!-- Commented out parent permission check ...
        &amp;lt;requiredPermission on="parent" name="_ReadChildren" implies="false"/&amp;gt;
        --&amp;gt;
      &amp;lt;/permission&amp;gt;
       
   &amp;lt;/permissionSet&amp;gt; 
   &amp;lt;permissionSet type="st:site" expose="selected"&amp;gt;
   
      &amp;lt;permissionGroup name="SiteManager" allowFullControl="true" expose="true" /&amp;gt;
      
      &amp;lt;permissionGroup name="SiteCollaborator" allowFullControl="false" expose="true"&amp;gt;
         &amp;lt;includePermissionGroup permissionGroup="Collaborator" type="cm:cmobject" /&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
      
      &amp;lt;permissionGroup name="SiteContributor" allowFullControl="false" expose="true"&amp;gt;
         &amp;lt;includePermissionGroup permissionGroup="Contributor" type="cm:cmobject" /&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
      
      &amp;lt;permissionGroup name="SiteConsumer" allowFullControl="false" expose="true"&amp;gt;
         &amp;lt;includePermissionGroup permissionGroup="Consumer" type="cm:cmobject" /&amp;gt;
         &amp;lt;includePermissionGroup permissionGroup="ReadPermissions" type="sys:base" /&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
	   &amp;lt;permissionGroup name="NewDocumentEditor" allowFullControl="false" expose="true"&amp;gt;
          &amp;lt;includePermissionGroup permissionGroup="Consumer" type="cm:cmobject"/&amp;gt;
		  &amp;lt;includePermissionGroup type="cm:lockable" permissionGroup="CheckOut"/&amp;gt;
          &amp;lt;includePermissionGroup type="cm:workingcopy" permissionGroup="CheckIn" /&amp;gt;
          &amp;lt;includePermissionGroup type="cm:workingcopy" permissionGroup="CancelCheckOut" /&amp;gt;
		  &amp;lt;includePermissionGroup type="sys:base" permissionGroup="ReadPermissions"/&amp;gt;
		  &amp;lt;includePermissionGroup type="sys:base" permissionGroup="Write"/&amp;gt;
		  &amp;lt;includePermissionGroup type="sys:base" permissionGroup="Delete"/&amp;gt;
		  &amp;lt;!--&amp;lt;includePermissionGroup type="cm:ownable"	permissionGroup="TakeOwnership" /&amp;gt;--&amp;gt;
          &amp;lt;!-- Check In permission - only exposed when the workingcopy aspect is present        --&amp;gt;
       &amp;lt;/permissionGroup&amp;gt;      

	   &amp;lt;permissionGroup name="NewSiteCollaborator" allowFullControl="false" expose="true"&amp;gt;
         &amp;lt;includePermissionGroup permissionGroup="Editor" type="cm:cmobject" /&amp;gt;
         &amp;lt;includePermissionGroup permissionGroup="Contributor" type="cm:cmobject" /&amp;gt;
		 &amp;lt;includePermissionGroup type="sys:base" permissionGroup="Delete"/&amp;gt;
		 
       &amp;lt;/permissionGroup&amp;gt;

	   &amp;lt;permissionGroup name="NewSiteContributor" allowFullControl="false" expose="true" &amp;gt;
          &amp;lt;!-- Contributor is a consumer who can add content, and then can modify via the --&amp;gt;
          &amp;lt;!-- owner permissions.                                                      --&amp;gt;
          &amp;lt;includePermissionGroup permissionGroup="Consumer" type="cm:cmobject"/&amp;gt;
          &amp;lt;includePermissionGroup permissionGroup="AddChildren" type="sys:base"/&amp;gt;
          &amp;lt;includePermissionGroup permissionGroup="ReadPermissions" type="sys:base" /&amp;gt;
		  &amp;lt;includePermissionGroup type="sys:base" permissionGroup="Delete"/&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
	  &amp;lt;permissionGroup name="NewSiteEditor"  expose="true" allowFullControl="false" &amp;gt;
          &amp;lt;includePermissionGroup type="cm:cmobject" permissionGroup="Consumer"/&amp;gt;
          &amp;lt;includePermissionGroup type="sys:base" permissionGroup="Write"/&amp;gt;
          &amp;lt;includePermissionGroup type="cm:lockable" permissionGroup="CheckOut"/&amp;gt;
          &amp;lt;includePermissionGroup type="sys:base" permissionGroup="ReadPermissions"/&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
      
   &amp;lt;/permissionSet&amp;gt;

	&amp;lt;permissionSet type="cm:ownable" expose="selected"&amp;gt;
      
      &amp;lt;!-- Permission control to allow ownership of the node to be taken from others     --&amp;gt;
      &amp;lt;permissionGroup name="TakeOwnership" requiresType="false" expose="false"&amp;gt;
           &amp;lt;includePermissionGroup permissionGroup="SetOwner" type="cm:ownable" /&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
       
      &amp;lt;permissionGroup name="SetOwner" requiresType="false" expose="false"/&amp;gt;
      
      &amp;lt;!-- The low level permission to control setting the owner of a node               --&amp;gt;
      &amp;lt;permission name="_SetOwner" expose="false" requiresType="false"&amp;gt;
        &amp;lt;grantedToGroup permissionGroup="SetOwner" /&amp;gt;
        &amp;lt;!-- require to be able to reach the node and set properties in the node         --&amp;gt;
        &amp;lt;!-- Commented out parent permission check ...
        &amp;lt;requiredPermission on="parent" name="_ReadChildren" /&amp;gt;
        --&amp;gt;
        &amp;lt;requiredPermission on="node" type="sys:base" name="_WriteProperties" /&amp;gt;
      &amp;lt;/permission&amp;gt;
      
   &amp;lt;/permissionSet&amp;gt;
   
   &amp;lt;!-- =================================================== --&amp;gt;
   &amp;lt;!-- Permission related to check in and cancel check out. --&amp;gt;
   &amp;lt;!-- =================================================== --&amp;gt;

      &amp;lt;permissionSet type="cm:workingcopy" expose="selected"&amp;gt;

         &amp;lt;!-- Cancel Check Out permission - only exposed for the workingcopy aspect is present --&amp;gt;
         &amp;lt;permissionGroup name="CancelCheckOut" requiresType="true" expose="false"&amp;gt;
            &amp;lt;includePermissionGroup permissionGroup="Unlock" type="cm:lockable" /&amp;gt;
         &amp;lt;/permissionGroup&amp;gt;

         &amp;lt;!-- Check In permission - only exposed when the workingcopy aspect is present        --&amp;gt;
         &amp;lt;permissionGroup name="CheckIn" requiresType="true" expose="false"&amp;gt;
            &amp;lt;includePermissionGroup permissionGroup="Unlock" type="cm:lockable" /&amp;gt;
         &amp;lt;/permissionGroup&amp;gt;
			
      &amp;lt;/permissionSet&amp;gt;
   
   &amp;lt;!-- =================================================== --&amp;gt;
   &amp;lt;!-- Permission related to lock, check out and check in. --&amp;gt;
   &amp;lt;!-- =================================================== --&amp;gt;
   
   &amp;lt;permissionSet type="cm:lockable" expose="selected"&amp;gt;
    
      &amp;lt;!-- At the moment these permissions are hidden so they do not appear in the list  --&amp;gt;
      &amp;lt;!-- of permissions.                                                               --&amp;gt;
    
      &amp;lt;!-- Check Out permission - exposed for all object types                           --&amp;gt;
      &amp;lt;permissionGroup name="CheckOut" requiresType="false" expose="false"&amp;gt;
          &amp;lt;includePermissionGroup permissionGroup="Lock" type="cm:lockable" /&amp;gt;
      &amp;lt;/permissionGroup&amp;gt;
      
      &amp;lt;permissionGroup name="Lock" requiresType="false" expose="false"/&amp;gt;
      &amp;lt;permissionGroup name="Unlock" requiresType="true" expose="false"/&amp;gt;
       
    
      &amp;lt;!-- Low level lock permission                                                     --&amp;gt;
      &amp;lt;permission name="_Lock" requiresType="false" expose="false"&amp;gt;
        &amp;lt;grantedToGroup permissionGroup="Lock" /&amp;gt;
        &amp;lt;requiredPermission on="node" type="sys:base"  name="Write"/&amp;gt;
      &amp;lt;/permission&amp;gt;
      
      &amp;lt;!-- Low level unlock permission                                                   --&amp;gt;
      &amp;lt;permission name="_Unlock" requiresType="true" expose="false"&amp;gt;
        &amp;lt;grantedToGroup permissionGroup="Unlock" /&amp;gt;
      &amp;lt;/permission&amp;gt;      
      
   &amp;lt;/permissionSet&amp;gt;
   
   &amp;lt;!-- ================== --&amp;gt;
   &amp;lt;!-- Global permissions --&amp;gt;
   &amp;lt;!-- ================== --&amp;gt;
   
   &amp;lt;!--                                                                                  --&amp;gt;
   &amp;lt;!-- Global permissions apply regardless of any particular node context.              --&amp;gt;
   &amp;lt;!-- They can not be denied by the permissions set on any node.                       --&amp;gt;
   &amp;lt;!--                                                                                  --&amp;gt; 
      
   &amp;lt;!-- Admin can do anything to any ndoe                                                --&amp;gt;
   &amp;lt;globalPermission permission="FullControl" authority="ROLE_ADMINISTRATOR"/&amp;gt;
   
   &amp;lt;!-- For now, owners can always see, find and manipulate their stuff                  --&amp;gt;
   &amp;lt;globalPermission permission="FullControl" authority="ROLE_OWNER"/&amp;gt;
   
   &amp;lt;!-- Unlock is granted to the lock owner                                              --&amp;gt;
   &amp;lt;globalPermission permission="Unlock" authority="ROLE_LOCK_OWNER"/&amp;gt;
   
   &amp;lt;!-- Check in is granted to the lock owner                                            --&amp;gt;
   &amp;lt;globalPermission permission="CheckIn" authority="ROLE_LOCK_OWNER"/&amp;gt;
   
   &amp;lt;!-- Cancel check out is granted to the locak owner                                   --&amp;gt;
   &amp;lt;globalPermission permission="CancelCheckOut" authority="ROLE_LOCK_OWNER"/&amp;gt;
   
   
&amp;lt;/permissions&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 May 2020 14:53:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113799#M31639</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2020-05-19T14:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error occuring while Creating Site roles</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113800#M31640</link>
      <description>&lt;P&gt;Hii All,&lt;/P&gt;&lt;P&gt;I think that it might be the error with the CheckIn,CheckOut and CancelCheckOut permission because they are using authority Role_Lock_Owner and maybe it is not available.&lt;/P&gt;&lt;P&gt;Please suggest some solution.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 06:13:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113800#M31640</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2020-05-20T06:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error occuring while Creating Site roles</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113801#M31641</link>
      <description>&lt;P&gt;You would be getting this error on existing site, its likely. Have you tried new site and getting same error ? "&lt;EM&gt;&lt;STRONG&gt;GROUP_site_AvivaWorld_NewDocumentEditor&lt;/STRONG&gt;&lt;/EM&gt;" must exist for the site. AvivaWorld is the site i suppose.&lt;/P&gt;
&lt;P&gt;Refer this post and follow the instructions to fix the missing groups for existing sites:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/ecm-archive/howto-custom-permissions-in-alf-community-5-0-d/m-p/204986/highlight/true#M109434" target="_blank" rel="noopener nofollow noreferrer"&gt;https://hub.alfresco.com/t5/ecm-archive/howto-custom-permissions-in-alf-community-5-0-d/m-p/204986/highlight/true#M109434&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://issues.alfresco.com/jira/secure/attachment/54733/fixsiteauthorities.zip" target="_blank" rel="noopener nofollow noreferrer"&gt;https://issues.alfresco.com/jira/secure/attachment/54733/fixsiteauthorities.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/ecm-archive/custom-role-creation-crashes-old-sites/m-p/29416/highlight/true#M16039" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/ecm-archive/custom-role-creation-crashes-old-sites/m-p/29416/highlight/true#M16039&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 22:31:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113801#M31641</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-05-20T22:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error occuring while Creating Site roles</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113802#M31642</link>
      <description>&lt;P&gt;Thanks Abhinav,&lt;/P&gt;&lt;P&gt;It works fine when creating new site but if I createnew role again this error come for this site after I restart the server than also it doesn't reflect changes to an existing site.&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 05:03:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113802#M31642</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2020-05-21T05:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error occuring while Creating Site roles</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113803#M31643</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;For the new custom role created after site is created i am getting the error. Now the links provided by you doesnt provide me the solution. I have tried implementing webscript as told in the links and also it would not be helpful as to implement webscript everytime&amp;nbsp; new custom role is created and wouldnt be great for development environment.&lt;/P&gt;&lt;P&gt;Some other solution or suggestion would be great.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 10:43:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113803#M31643</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2020-06-16T10:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error occuring while Creating Site roles</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113804#M31644</link>
      <description>&lt;P&gt;The issue would be likely for old sites not on newly created sites. Please create a separate thread stating the exact error you are getting and what all steps you followed include the webscript code you wrote, so someone can look at it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 13:44:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-occuring-while-creating-site-roles/m-p/113804#M31644</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-06-16T13:44:59Z</dc:date>
    </item>
  </channel>
</rss>

