dorbel-tech / dorbel-shared

dorbel shared dependencies used in dorbel-app
0 stars 1 forks source link

user-management should delete any existing x-user-profile header #29

Closed avnersorek closed 7 years ago

avnersorek commented 7 years ago

it's now possible to make a request without an authorization token but with the x-user-profile header and actually impersonate any user without a login. The gateway is using shared.utils.userManagement.parseAuthToken so it should remove any x-user-profile other then the one it creates

avnersorek commented 7 years ago

This was done in my last PR

On Dec 28, 2016 10:50 AM, "David Virtser" notifications@github.com wrote:

Assigned #29 https://github.com/dorbel-tech/dorbel-shared/issues/29 to @avnersorek https://github.com/avnersorek.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dorbel-tech/dorbel-shared/issues/29#event-906336868, or mute the thread https://github.com/notifications/unsubscribe-auth/ACHtjhe7e4xBOLMSgpuLhC1j1H1O4vyTks5rMiK3gaJpZM4LVzxb .