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

Usage with ngx-permissions #1

Open
jalchr opened this issue Jun 16, 2019 · 6 comments
Open

Usage with ngx-permissions #1

jalchr opened this issue Jun 16, 2019 · 6 comments

Comments

@jalchr
Copy link

jalchr commented Jun 16, 2019

Great library.

I'm planning to try it with https://github.com/AlexKhymenko/ngx-permissions

Any specific recommendations ?

@Angelinsky7
Copy link
Owner

@jalchr didn't know this library. But i will look into it. Thanks !

@jalchr
Copy link
Author

jalchr commented Jun 21, 2019

Great.
Let me know your thoughts

@jalchr
Copy link
Author

jalchr commented Jul 9, 2019

How is the progress ?

@jalchr
Copy link
Author

jalchr commented Mar 24, 2021

Any thoughts ?

@Angelinsky7
Copy link
Owner

@jalchr Hello, i'm really sorry i didn't find the time to really look into it.
but i would naively think that you could use this plugin at startup, get all permissions from server (this could be bad in some case) and then call this.permissionsService.addPermission('${permissions}') to add them at once into ngx.
but like i said i didn't know this lib and sadly i've been away from angular from quite some time.
Hope that you could find some thoughts into it and i'm really sorry that i'v forgot to answer you.

@Angelinsky7
Copy link
Owner

from here : https://github.com/AlexKhymenko/ngx-permissions#defining-permissions

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

No branches or pull requests

2 participants