Hello.

I'm trying to fix provision.sh in fineract-cm-containers.
After my fixes everything works fine except two errors on provisioning:
{
  "timestamp": 1567492233851,
  "status": 404,
  "error": "Not Found",
  "exception": "org.apache.fineract.cn.lang.ServiceException",
  "message": "Application permission 'rhythm-v1.identity__v1__app_self'
doesn't exist.",
  "path":
"/identity/v1/applications/rhythm-v1/permissions/identity__v1__app_self/users/imhotep/enabled"
}
and
{
  "timestamp": 1567492234157,
  "status": 404,
  "error": "Not Found",
  "exception": "org.apache.fineract.cn.lang.ServiceException",
  "message": "Application permission 'rhythm-v1.portfolio__v1__khepri'
doesn't exist.",
  "path":
"/identity/v1/applications/rhythm-v1/permissions/portfolio__v1__khepri/users/imhotep/enabled"
}

Guys, could you help me with this?
As I understand user for set-application-permission-enabled-for-user is
imhotep? (Tenant was used in original script)
I have attached my changed provision.sh

Thanks,
Ivan

Attachment: provision.sh
Description: application/shellscript

Reply via email to