Closed darkterra closed 7 years ago
Hi,
I do not understand why permissions do not work, but my code is as explained in the wiki. Anyone with an idea of the mistake I made?
Im using :
This is Working (in view) :
<span>Congrats! You are logged in.</span> </div>
This is not Working (in config) :
.state('admin.articles', { url : '/adminArticles', templateUrl : '../Partial/Admin/adminArticles.html', data : { permissions: { only: ['ADMIN_ARTICLE'], redirectTo: 'home' } } })
Thanks in Advance!
try downgrade ui-router to 0.4.2
Hi,
I do not understand why permissions do not work, but my code is as explained in the wiki. Anyone with an idea of the mistake I made?
Im using :
This is Working (in view) :
This is not Working (in config) :
Thanks in Advance!