Comment by azure@blitab.com :
Hi,
Doing this change is changing and our role only buyer.
We tested it yesterday.
We as administrators want to own all the roles, and all others customers
only
Best regards,
On 4/14/2016 7:18 PM, Help-Desk wrote:
>
> >From FIWARE JIRA - Main Help Desk ----
>
> -------------------------------------------------------------------------------
> Comments:
>
>
> Francisco de la Vega - Today 6:17 PM
> ------------------
> Hi,
>
> The WStore version integrated with the FIWARE Idm by default gives the provider role internally to all its users; nevertheless, switching off this is quite easy:
>
> In file src/wstore/social_auth_backend.py, replace line 141 (user_roles = ['customer', 'provider']) by:
>
> user_roles = ['customer']
>
> Best regards,
> Francisco
>
> ------------------------
> Issue id: HELP-6378
> Description:
> Hello Aitor,
>
> We are struggling with managing user roles in WStore (we are using the
> FIWARE IdM - OAuth). We can manage roles in the FIWARE Lab without
> problems. By default, all users that log in with our application have a
> provider role - we do not want that. We want users to be only
> customers/purchasers. The providers should be only the people that we
> have allowed in our application.
>
> Can you pinpoint us the proper way to make this change?
>
> Best wishes!
>
> [Created via e-mail received from: azure <azure@blitab.com>]
>
> FIWARE Chapter:
> FIWARE GEri:
>
> Status: Open
>
> ---------------------
> This email was generated by FIWARE JIRA following an email received into the Main Help Desk.
>
Hi,
The WStore version integrated with the FIWARE Idm by default gives the provider role internally to all its users; nevertheless, switching off this is quite easy:
In file src/wstore/social_auth_backend.py, replace line 141 (user_roles = ['customer', 'provider']) by:
user_roles = ['customer']
Best regards,
Francisco