Hello Eroma and Supun,
May I request a web chat to resolve the problems I met? It might be more easier if I can show the settings to you via the screen sharing. Thanks, Qiyang ________________________________ From: Abeysinghe, Eroma <[email protected]> Sent: Thursday, June 22, 2017 12:14:12 PM To: Hu, Qiyang; Supun Nakandala Cc: [email protected] Subject: Re: need help in configuring PGA Hi Qiyang, I am not sure what exactly is causing this. Where do you see this “InvalidRole” error ? Is it in PGA when you try to login with the newly created account? Did you confirm the account creation? In WSO2 IS, what are the roles you see assigned to your account? Are they same as the roles in pga_config.php Supun, any insight in to this? Thanks, Eroma From: "Hu, Qiyang" <[email protected]<mailto:[email protected]>> Date: Thursday, June 22, 2017 at 2:04 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Cc: Eroma Abeysinghe <[email protected]<mailto:[email protected]>> Subject: Re: need help in configuring PGA Hello Eroma, Thanks for your quick reply. Yes, with the hints provided, I got the gateway-level admin access to register resources. However I still have some problem in creating accounts in my Gateway. When I try to create an account through PGA, I got an error related with "InvalidRole". Although I can see the account exists in WSO2 IS, I cannot login with the credentials I created. Any suggestions? Thanks, Qiyang ________________________________ From: Eroma Abeysinghe <[email protected]<mailto:[email protected]>> Sent: Wednesday, June 21, 2017 11:58:26 AM To: [email protected]<mailto:[email protected]> Cc: Abeysinghe, Eroma Subject: Re: need help in configuring PGA Hi Qiyang, Please check the role assignment in your pga_config.php in php-gateway/app/config there it should have role names as in [1] Also set super admin portal to true as in [2] Hope this helps [1] /** * ***************************************************************** * WSO2 Identity Server Related Configurations * ***************************************************************** */ 'wsis' => [ /** * Admin Role Name */ 'admin-role-name' => 'admin', /** * Read only Admin Role Name */ 'read-only-admin-role-name' => 'admin-read-only', /** * Gateway user role */ 'user-role-name' => 'gateway-user', [2] /** * ***************************************************************** * Portal Related Configurations * ***************************************************************** */ 'portal' => [ /** * Whether this portal is the SciGaP admin portal */ 'super-admin-portal' => false, Thanks, Eroma On Wed, Jun 21, 2017 at 2:50 PM, Hu, Qiyang <[email protected]<mailto:[email protected]>> wrote: Hello Eroma, Thanks for the previous helps from you and Supon! While I am getting a chance recently to continue working on my own-hosted Airavata + PGA + WSO2 IS in CentOS 7, it seems that I don't have the gateway administrator privileges to register resources. Could you please give me some advice on how to configure it? Thanks, Qiyang -- Thank You, Best Regards, Eroma
