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

Is there any way make tardy loading ? #9

Closed
daruwanov opened this issue Nov 9, 2015 · 4 comments
Closed

Is there any way make tardy loading ? #9

daruwanov opened this issue Nov 9, 2015 · 4 comments

Comments

@daruwanov
Copy link

My application works with own API server, and i already have, ACL in server side. But i want add some ACL on front-end (hide some buttons with actions etc). And i fond your module.

But i need initialise ACL after i enter login and password and fetch data from server.(when angular application is working NOT when on config or run part of lifecycle )

Is there any way to do this?

@ravi-mone
Copy link

@daruwanov ,

Daruwanov, I am looking one such ACL, as you said above, Did you come up with any one such module, please suggest me, which is the ACL, you are using.

@daruwanov
Copy link
Author

@ravi-mone. No, i just create my own angular module, for this. For now it`s quick solution. It very close for specific of my project. I want to create independent version. But it will be a little bit later.

P.S. so i close this issue\question

@mikemclin
Copy link
Owner

@daruwanov anything that can be done in the run phase can be done inside of a controller, service, etc.

So, you can simply inject AclService into your controller (or whatever) and use all the methods.

@daruwanov
Copy link
Author

@mikemclin Thanks

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

3 participants