Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Allow arrays for actions #15

Open
hubertursua opened this issue May 27, 2014 · 0 comments
Open

Allow arrays for actions #15

hubertursua opened this issue May 27, 2014 · 0 comments
Milestone

Comments

@hubertursua
Copy link
Owner

This lets us define sets of actions which we can inject in maps instead of repeatedly enumerating them for each map.

It should also allow nested arrays.

var standardAuth = [
    'session#isLoggedIn',
    'accessControl#hasRights'
];
['all', '/users/view', standardAuth, 'users#view']
@hubertursua hubertursua added this to the v1.0.x milestone May 27, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant