@GELight wrote:
Hi all,
What is a good way to test for permissions in ember? In templates, components or controllers there are no problems. Here I can use an IF condition to render my snippet or execute code by set permissions etc…
But what is the best way to use permissions for routes?
For example:
- The main navigation will rendered in the application template.
- The token request and the request for my loggedin user and his permissions is asyncrone and will be solved after get the authentication token
I search for a solution what the best way is to test for permissions on routes until the user request is finished to get the permissions.You know what I mean?
Greeings Mario
Posts: 4
Participants: 2