I was trying a new Role and made the following definitions in permissionDefinitions.xml.
Under permissionSet type="cm:cmobject"
<permissionGroup name="SubmittoPending" allowFullControl="false" expose="true" >
<!–includePermissionGroup permissionGroup="Write" type="sys:base"/–>
<includePermissionGroup permissionGroup="AddChildren" type="sys:base"/>
</permissionGroup>
Under permissionSet type="cm:folder"
<permissionGroup name="SubmittoPending" extends="true" expose="true"/>
I see the Role when I go to a folder and click on "Invite Content Users".
Everything works fine. But it shows up as $$SubmitPending$$
From where is $$ coming up?