Index: grails-app/controllers/com/lemans/payment/ApiPaymentProfileController.groovy =================================================================== diff -u -rc9a424acb4b692bb732baca830bbde56755a5078 -r8bc216f8d4bfbe7f93bf0266a06f9e08fdc8b097 --- grails-app/controllers/com/lemans/payment/ApiPaymentProfileController.groovy (.../ApiPaymentProfileController.groovy) (revision c9a424acb4b692bb732baca830bbde56755a5078) +++ grails-app/controllers/com/lemans/payment/ApiPaymentProfileController.groovy (.../ApiPaymentProfileController.groovy) (revision 8bc216f8d4bfbe7f93bf0266a06f9e08fdc8b097) @@ -228,14 +228,13 @@ */ @TargetEndPointMapping(value='/payment/profile/$customerId', method= RequestMethod.POST) @Secured(closure = { - ctx.securityService.loggedInWithDomainAndHasAnyPermissions(16, ['permission_16_accounts.profiles.view', 'permission_16_accounts.profiles.edit']) + ctx.securityService.loggedInWithDomainAndHasAnyPermissions(16, ['permission_16_accounts.profiles.resend']) }) def postFailedProfileToD365() { renderPayment("/dm/$params.dm/dealer/$params.dealerCode/payment/profile/$params.customerId") } - /** * @descshort Find profiles by dealerCode. * @reqparams profileTypeId