Jhipster Settings Page Error

Jhipster accounts setting page is giving access denied and redirect to error page 


Solution : 

Add the below changes in your settings.route.ts file


 data: {
    authorities: ['ROLE_USER','ROLE_MANAGER','ROLE_ACCOUNTANT'],

    pageTitle: 'Settings'

  }



in data authorities add your roles as above that will launch settings page when you login with that particular authority

Comments

Popular posts from this blog

Angular cli ng command is not working

warning: LF will be replaced by CRLF in