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]>
Sent: Wednesday, June 21, 2017 11:58:26 AM
To: [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

Reply via email to