Ashutosh Jadhav created FINCN-106:
-------------------------------------

             Summary: Error in super user creation via fineract-cn-fims-web-app
                 Key: FINCN-106
                 URL: https://issues.apache.org/jira/browse/FINCN-106
             Project: Fineract Cloud Native
          Issue Type: Bug
          Components: fineract-cn-fims-web-app
            Reporter: Ashutosh Jadhav
         Attachments: image-2018-12-25-11-05-38-355.png

Hi
 After logging as “operator” user I created a role called “superuser” granting 
all permissions to all modules. After that I created an employee and linked 
superuser role to that employee.

I expected that when I log in as superuser employee, I would be able to access 
all functionality of all modules but I can see only “Quick Access” in left 
navigation bar and “Group” card in “Quick access” detail page.

!image-2018-12-25-11-05-38-355.png!

I did further debugging and found that in certain scenarios -

GET [http://localhost:4200/identity/v1/users/loanmanager1/permissions] is not 
going through with following error -

GET [http://localhost:4200/identity/v1/users/loanmanager1/permissions] 400 (Bad 
Request)

For operator user I did not observe this error but while trying superuser case 
I did see this error.

Essentially this frontend request maps to 
/identity/v1/users/operator/permissions endpoint which returns Set<Permission>.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to