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

Add abp.currentUser.roles as a string array in the client side #4517

Closed
2 tasks done
hikalkan opened this issue Jun 28, 2020 · 1 comment
Closed
2 tasks done

Add abp.currentUser.roles as a string array in the client side #4517

hikalkan opened this issue Jun 28, 2020 · 1 comment

Comments

@hikalkan
Copy link
Member

hikalkan commented Jun 28, 2020

It should not be null, but it can be empty if user has not logged it or has no role.

@maliming
Copy link
Member

#4519

> abp.currentUser.roles
> ["admin"]

> abp.currentUser.roles
> []

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