Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5027

DF2 - role_id value is based on Default Role, not on the setting in the User tab

$
0
0

Hi,

After the login, the user_id returned in the response corresponds to the Default Role, not on the one set up for the specific application.

I think that this is a bug. These are the steps to replicate the issue:
1) setup two roles: "guest" and "registered"
2) create an app "test1" and set the default role to "guest"


3) create a new user and set the role for the "test1" app as "registered"

The problem is that the role_id returned for the user is always "guest". This is the response:

The problem is that bug is blocking from having more than one role within an application. Any advises on how this can be managed?
The DF version is 2.0.1

Thank you
Gabriel


Viewing all articles
Browse latest Browse all 5027

Trending Articles