Clarity: Resource created through XOG is missing access right to edit the Favorites Menu

Document ID : KB000020322
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When a resource is created through a XOG write action, and then the Security User profile is created, the user is not granted the 'User Favorites Menu - Edit' access right.

Steps to Reproduce:

  1. Navigate to Resource Management > Resources and create a new labor resource. Name it userA

    • Last Name, First Name, Resource ID and Email Address: userA

  2. Navigate to Administration > Resources and filter resources by Last Name=userA and Status=All
  3. Select userA and navigate to Resources' Access Rights > Instance. The following rights are granted to this resource:

    • Resource - Enter Time
    • Resource - Self (Auto)

  4. Return to the resource list and activate userA
  5. Select userA again and navigate to Resources' Access Rights > Instance. 'Users Favorites Menu - Edit' access right was automatically granted.
  6. Using the Clarity XML Open Gateway (XOG) client application, perform a XOG write action to create userC (resource) using the following write request:
    lt;?xml version="1.0" encoding="UTF-8"?gt; lt;NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_resource.xsd"gt;  lt;Header action="write" externalSource="NIKU" objectType="resource" version="13.1.0.0248"/gt;  lt;Resourcesgt;    lt;Resource employmentType="EMPLOYEE" externalId=" " includeInDatamart="true" isActive="true" isExternal="false" managerUserName="admin"      resourceId="userC" resourceType="LABOR" username="userC"gt;      lt;PersonalInformation displayName="userC, userC" emailAddress="userC" firstName="userC" lastName="userC"/gt;      lt;ManagementInformation availability="8" openForTimeEntry="false" trackMode="None" userFlag1="false" userFlag2="false" userNumber1="0" userNumber2="0"/gt;      lt;CustomInformationgt;        lt;ColumnValue name="partition_code"gt;NIKU.ROOTlt;/ColumnValuegt;      lt;/CustomInformationgt;      lt;OBSAssocs complete="false"/gt;      lt;SkillAssocs/gt;      lt;Calendar baseCalendar="Standard" resetCalendar="false"/gt;    lt;/Resourcegt;  lt;/Resourcesgt; lt;/NikuDataBusgt;
  7. Navigate to Administration > Resources and filter resources by Last Name=userC and Status=All (Note: Resource is locked)
  8. XOG in userC (user) using the following write request (Note: userStatus=ACTIVE)
    lt;?xml version="1.0" encoding="UTF-8"?gt; lt;NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_user.xsd"gt;  lt;Header action="write" externalSource="NIKU" objectType="user" version="13.1.0.0248"/gt;  lt;Usersgt;    lt;User externalId=" " isLDAP="false" uiThemeDefaultPartitionCode=" " userLanguage="English" userLocale="en_US" userName="userC" userStatus="ACTIVE"      userTimezone="Europe/London" userType="INTERNAL"gt;      lt;PersonalInformation emailAddress="userC" firstName="userC" lastName="userC"/gt;      lt;Resource resourceId="userC"/gt;      lt;BusinessObjects/gt;      lt;Company/gt;      lt;OBSAssocs complete="false"/gt;      lt;Groups/gt;      lt;GlobalRights/gt;      lt;InstanceRights/gt;      lt;InstanceOBSRights/gt;    lt;/Usergt;  lt;/Usersgt; lt;/NikuDataBusgt;
  9. Select userC and navigate to Resources' Access Rights > Instance.

Expected Result: The user created through XOG is granted with 'Users Favorites Menu - Edit' instance right as the user created through the UI.
Actual Result: The 'Users Favorites Menu - Edit' instance access right is not granted to the user created through XOG.

Solution:

Workaround:
Lock/Activate the user created through XOG. 'Users Favorite Menu-Edit' Instance right as will be granted automatically.

Status/Resolution:
This issue is documented as CLRT-66180 and is targeted for resolution in a future release.