anilvpatel21 edited a comment on issue #13733:
URL: https://github.com/apache/superset/issues/13733#issuecomment-894846072


   @dpgaspar Hi, Getting same error
   
   `AttributeError: 'AnonymousUserMixin' object has no attribute 
'_sa_instance_state'`
   
   I am passing a JWT Auth token of user which also has Admin as well as Gamma 
role. 
   ````
   headers: {
       'CSRF-TOKEN': //token obtain from '/api/v1/security/csrf_token' endpoint
       'Authorization': 'Bearer ' + //access_token obtain 
'/api/v1/security/login' endpoint
   }
   ````
   
   AUTH_ROLE_PUBLIC = 'Gamma'
   PUBLIC_ROLE_LIKE = 'Gamma'
   
   and in the Gamma role, i have can read on & can write on permission of 
ReportSchedule. 
   Superset 1.1.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to