Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get updated user information #11

Open
patricknazar opened this issue Dec 14, 2015 · 5 comments
Open

Get updated user information #11

patricknazar opened this issue Dec 14, 2015 · 5 comments

Comments

@patricknazar
Copy link
Contributor

How can I deal with the situation where a user's info/profile/permissions have changed? It seems that the user json object is only received upon login.

@lykmapipo
Copy link
Owner

@patricknazar

I stumble upon the same problem. Current i have to force logout then login the user.
But I was thinking on the way to implement user refresh.

Am open for discussion. I will appreciate PR.

@patricknazar
Copy link
Contributor Author

It shouldn't be too hard, but might involve making the directives etc be aware of the new permissions too. I can contribute.

@lykmapipo
Copy link
Owner

@patricknazar

Sure. Just send me a PR

@patricknazar
Copy link
Contributor Author

I was thinking of creating a new method $auth.refreshProfile() but I believe that the directives will not update. Thoughts?

@essivision
Copy link

I need to method for update profile information? Already is there any way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants