Content Management and Capture

 View Only
Expand all | Collapse all

Static roles not applied to security after checking out/checking in document in Microsoft Office Application (NIMO)

  • 1.  Static roles not applied to security after checking out/checking in document in Microsoft Office Application (NIMO)

    Posted Wed July 13, 2022 05:01 AM
    Hi everyone,

    Me and my team have been working on role-based access security on a Filenet application these past weeks and we've encountered another problem, this time with the NIMO Application and the check out/check in actions on documents.
    Most documents on the application have roles applied to them to control which user can access to these documents and what actions they can perform on it. On Content Navigator, we've never had any problem with checking out/checking in documents, but on NIMO(Microsoft Office extension), when we execute these actions, the new version of the document doesn't have the previous roles applied to its security. When we roll back to the previous version, the roles are correctly applied to the document's security.
    After reading the Filenet logs, we have several errors like these : DEBUG com.filenet.api.exception.EngineRuntimeException: FNRCE0051E: E_OBJECT_NOT_FOUND
    When checking the IDs of the elements linked to these error messages, we have the document being checked out, and either its first version or its next version when checking in. We also have this error message regarding the VersionSeries element linked to the document. So it appears that the Filenet application struggles to find the current document being modified and its respective versions, and therefore cannot apply the roles accordingly to the security of the new version of the document.

    It seems that this behavior is caused by the NIMO product because we've tested without any plugin or code of our own executing at the same time and we have the same problem every time. So I would like to know if any of you encountered the same problem, and if yes, what was your approach to avoid this behavior. Our Filenet version is 3.0.7.

    Thank you for your attention,

    David

    ------------------------------
    David CORMERAIS
    ------------------------------


  • 2.  RE: Static roles not applied to security after checking out/checking in document in Microsoft Office Application (NIMO)

    Posted Thu July 14, 2022 06:47 PM
    This appears to be a defect, it looks like role permissions are only getting persisted during add in NMO, but not during checkin.
    I can see that this gets fixed in the next fix pack, if you want to you can create a support ticket in order to get an APAR for tracking.

    Note: if you are using ICN/NMO 3.0.7 that is fairly old, the only versions getting updated are 3.0.11 and 3.0.12.

    ------------------------------
    JONATHAN Lum
    ------------------------------