Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 724 Bytes

File metadata and controls

23 lines (18 loc) · 724 Bytes

Express, Passport, Socket.io and MySQL Boilerplate (epsiom)

The name says it all.

Code based on:

Install

Download, extract and run npm isntall

Default user/pass: admin password

Role Based Authorization

users table: role_id connects to the roles table.
roles table: role_id (auto inc) and a name.
role_roles table: role_id1 is for the role, role_id2 is the id of the role you want role_id1 to be able to access. Simplistic hierarchy.

Todo

Simple admin interface to add users, role and grant role permissions.