mothership-ec / cog-user

User Cogule
Other
0 stars 1 forks source link

Implement permissions system #10

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).