Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-4303

Document initiator check fails when KIM is run in remote mode

    Details

    • Rice Module:
      KNS, KEW, KIM

      Description

      When an application has configured KIM in "remote" mode, permission checks that cross the service bus and occur in the Rice server and that depend on observing client Rice state (such as the document route header for initiator) will fail because client changes have not yet been committed to the database.

      For example, RouteLogDerivedRoleTypeServiceImpl.hasApplicationRole:

      if (INITIATOR_ROLE_NAME.equals(roleName)){
      isUserInRouteLog =
      principalId.equals(workflowInfo.getDocumentInitiatorPrincipalId(documentNumberLong));

      This will always fail for newly initiated documents, and the result will be that all new documents will be read only (because the current user is not seen to be the "initiator") regardless of any other permission setting.

      This is one such example, but it seems like a general problem and could be more widespread (any other state a client may save and the Rice standalone instance may be requested to operate on).

        Attachments

          Issue Links

            Activity

            ahamid Aaron Hamid (Inactive) created issue -
            ahamid Aaron Hamid (Inactive) made changes -
            Field Original Value New Value
            Summary Document initiator check fails with KIM is run in remote mode Document initiator check fails when KIM is run in remote mode
            ahamid Aaron Hamid (Inactive) made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            ewestfal Eric Westfall made changes -
            Assignee Eric Westfall [ ewestfal ]
            Fix Version/s 1.0.3 [ 15646 ]
            ewestfal Eric Westfall made changes -
            Fix Version/s 1.1 [ 14190 ]
            Fix Version/s 1.0.3 [ 15646 ]
            ewestfal Eric Westfall made changes -
            Link This issue relates to KULRICE-4140 [ KULRICE-4140 ]
            ewestfal Eric Westfall made changes -
            Fix Version/s 1.1? [ 15811 ]
            Fix Version/s 1.1 [ 14190 ]
            ewestfal Eric Westfall made changes -
            Fix Version/s 1.1? [ 15811 ]
            ewestfal Eric Westfall made changes -
            Fix Version/s 1.1 [ 14190 ]
            ewestfal Eric Westfall made changes -
            Component/s Version Compatibility [ 13202 ]
            ewestfal Eric Westfall made changes -
            Fix Version/s 2.x [ 15811 ]
            Fix Version/s 2.0 [ 14190 ]
            ewestfal Eric Westfall made changes -
            Start Date
            Fix Date [ set to sprint end date ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Assignee Eric Westfall [ ewestfal ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Priority Critical [ 2 ] Major [ 3 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 84649 ] Copy of custom for rice [ 206903 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow Copy of custom for rice [ 206903 ] custom [ 216651 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 216651 ] Rice Workflow [ 226399 ]
            kbtaylor Kristina Taylor (Inactive) made changes -
            Fix Version/s Middleware Backlog [ 17860 ]
            Fix Version/s Backlog [ 15811 ]
            kbtaylor Kristina Taylor (Inactive) made changes -
            Fix Version/s Backlog [ 15811 ]
            Fix Version/s Middleware Backlog [ 17860 ]
            kbtaylor Kristina Taylor (Inactive) made changes -
            Rank Ranked higher
            kbtaylor Kristina Taylor (Inactive) made changes -
            Rank Ranked higher
            kbtaylor Kristina Taylor (Inactive) made changes -
            Rank Ranked higher
            kbtaylor Kristina Taylor (Inactive) made changes -
            Rank Ranked higher
            ewestfal Eric Westfall made changes -
            Labels Old

              People

              • Assignee:
                Unassigned
                Reporter:
                ahamid Aaron Hamid (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: