Caroline Posted April 3 Share Posted April 3 I have two users who today are unable to close Release Requests and Service Requests (possibly Incidents as well, they just haven't tried yet). They could previously close tickets and have been users for 3 years. I have Super User Role and can close tickets, so this appears to be a permissions issue. I have checked the user's roles and cannot see any obvious ones missing, nor have we made any changes to user access. These are the Roles these users have: I've seen this error in the logs also suggesting a permissions issue: /apps/com.hornbill.servicemanager/flowcode/fc_modules/global_helper.js(316): error X1001: Uncaught EspMethodCall::invoke: Operation[admin::getApplicationList] The following rights [manageApplications] in Group D are needed to invoke the method admin::getApplicationList Link to comment Share on other sites More sharing options...
Nanette Posted April 3 Share Posted April 3 @Caroline our developers are currently investigating this issue, we will provide an update as soon as one is available. Please bear with us. Link to comment Share on other sites More sharing options...
Caroline Posted April 4 Author Share Posted April 4 Hi @Nanette just wondering if there is any update on this as this issue is also affecting our users from creating new release requests. Thanks Link to comment Share on other sites More sharing options...
Caroline Posted April 8 Author Share Posted April 8 @Nanette please could I have an update on this, I don't really want to have to give super user access to users just so they can continue their work. Link to comment Share on other sites More sharing options...
Caroline Posted April 16 Author Share Posted April 16 @Nanette is there any update on this please? It's been over a week and I've still got users having issues. Link to comment Share on other sites More sharing options...
Steve Giller Posted April 16 Share Posted April 16 This is not an issue that we have been able to reproduce. On 03/04/2024 at 14:11, Caroline said: /apps/com.hornbill.servicemanager/flowcode/fc_modules/global_helper.js(316): error X1001: Uncaught EspMethodCall::invoke: Operation[admin::getApplicationList] The following rights [manageApplications] in Group D are needed to invoke the method admin::getApplicationList is not in any way related to closing tickets, I would only expect to see this operation called in the Admin view, and if it was the cause of the User not closing the Request it would have appeared as a popup at the time. Some information on how the Users are trying to close tickets, what happens when they do, any errors or other messages etc. would be useful here. As a final note, the Super User role should not be applied to any User who uses the system on a day-to-day basis, this should be reserved for the System Administrator account (or a similar User) where it would only be required to access the system and reset settings if something catastrophic happens. Link to comment Share on other sites More sharing options...
Caroline Posted April 16 Author Share Posted April 16 @Steve Giller Thanks for coming back to me. I found that error in the logs thinking it would be more helpful for troubleshooting. This is what the user saw: As no-one came back to me I managed to find a workaround by creating a Role with the manageApplications privilege and assigned it to the affected users, although this isn't ideal as it could give them access we don't want. It gets the user around the blocker but they now get a different error when resolving tickets. Unfortunately I can't find anything in the logs that provides more detail on this error. It seems whilst the user gets the error, if they come out the ticket and go back in then it is resolved. To resolve a ticket the user goes into the ticket, goes to the Resolution tab, enters a description and selects a category. Error occurs when they click Resolve. Regarding the Super User role, I've had this since day 1, wasn't aware I shouldn't have it. I removed it last week to test something then started getting errors myself when resolving cases, so I put it back on for now until all the issues are resolved. Link to comment Share on other sites More sharing options...
Caroline Posted April 16 Author Share Posted April 16 In addition to the above, a user has just had this when completing a release request workflow. The workflow log has this: 1.656896s ERROR Execution Failed: Xmlmc method invocation failed for BPM invocation node '8a21a7f9-dadc-2031-0697-69317467c95b/flowcode-90d43907': <methodCallResult status="fail"> <state> <code>0207</code> <service>apps</service> <operation>updateReqStatus</operation> <error>/apps/com.hornbill.servicemanager/entities/Requests/fc_modules/requests_helper.js(12295): error X1001: Uncaught EspMethodCall::invoke: Operation[apps/com.hornbill.suppliermanager::stopActiveSupplierContractEventAgainstServiceManagerRequest] Your session does not have rights to the 'com.hornbill.suppliermanager' application</error> <flowcodeError> <where>Execute</where> <filename>/apps/com.hornbill.servicemanager/entities/Requests/fc_modules/requests_helper.js</filename> <lineNumber>12295</lineNumber> <columnPos>19</columnPos> <message>Uncaught EspMethodCall::invoke: Operation[apps/com.hornbill.suppliermanager::stopActiveSupplierContractEventAgainstServiceManagerRequest] Your session does not have rights to the 'com.hornbill.suppliermanager' application</message> <errorCode>1001</errorCode> <stackTrace>systemResolveRequest at /apps/com.hornbill.servicemanager/entities/Requests/fc_modules/requests_helper.js(12295:20)</stackTrace> <stackTrace>updateRequestStatus at /apps/com.hornbill.servicemanager/entities/Requests/fc_modules/requests_bpm_helper.js(4902:35)</stackTrace> <stackTrace>at /apps/com.hornbill.servicemanager/entities/Requests/fc_bpm/updateReqStatus.js(15:41)</stackTrace> </flowcodeError> </state> </methodCallResult> In the workflow the user completes a task which then sets a checkpoint before updating the status to Resolved. If I go into Failed workflows and Restart process it then continues happily. I notice in the more detailed error it mentions suppliermanager which is an app I can see we have installed but we don't currently use and no-one has access. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now