Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4836

Approaches to Access Control

$
0
0

@mtangoo wrote:

What are approaches to limit access control to routes? I use ESA for authentication. So I have user scopes. The only thing am yet to figure out is how Access Control to limit front end resources according to user scopes.

I think of making a Route Mixin and hook to beforeModel and add field called scopes which would indicate what scopes are allowed on that particular route. I'm not sure if its the ember-ish way.

How do you do it guys?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4836

Trending Articles