mothership-ec / cog-user

User Cogule
Other
0 stars 1 forks source link

Implement permissions system #11

Closed joeholdcroft closed 11 years ago

joeholdcroft commented 11 years ago

We need to implement a simple permissions system. My feeling is it should be based off of routes and groups.

We'd need some way to, for each group, set a list of routes that they can access.

We'd also need some way to set a route/controller as "protected" so the permissions are checked (if we didn't do this, there's be no way for somebody who isn't logged in to see anything).

joeholdcroft commented 11 years ago

Also note it'd be handy to give a group access to a whole collection of routes rather than adding them individually.