AnsweredAssumed Answered

XOG insufficient rights

Question asked by mpanfilov on Jul 7, 2012
Latest reply on Jul 7, 2012 by mpanfilov
Hello everybody.

I have got a trouble with project team updating.

For example, there is a project with name = "Projects audit" and id="PROJ0000000006". I'm trying to insert a new team member passing to xog.client the following XML:
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<Header version="13.0.1.0102" externalSource="NIKU" action="write" objectType="project" />

<Projects>


<Project name="Projects audit" projectID="PROJ0000000006">



<Resources>
        <Resource resourceID="kstukalov">
          <Baselines/>
          <AllocCurve/>
          <CustomInformation>
            <ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>
            <ColumnValue name="isarchive">true</ColumnValue>
          </CustomInformation>
          <SkillAssocs/>
        </Resource>



</Resources>


</Project>

</Projects>
</NikuDataBus>
The XML Output is
<?xml version="1.0" encoding="UTF-8"?>
<XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">
  <Object type="project"/>
  <Status elapsedTime="0.499 seconds" state="FAILURE"/>
  <Statistics failureRecords="1" insertedRecords="0" totalNumberOfRecords="1" updatedRecords="0"/>
  <Records>
    <Record>
      <KeyInformation>
        <column name="ID">5002003</column>
        <column name="name">Аудит проектов</column>
        <column name="UNIQUE_NAME">PROJ0000000006</column>
      </KeyInformation>
      <ErrorInformation>
        <Severity>FATAL</Severity>
        <Description>Project Object update failed</Description>
        <Exception><![CDATA[
java.lang.Exception: 101 : An exception was thrown, info contains the Throwable : java.lang.Exception: Insufficient right to add record 
following by call stack and some additional information. What's wrong here?

Thanks :)

Outcomes