major update regarding many to many roles per user and their related impacts
This commit is contained in:
@ -17,6 +17,8 @@ export class RoutePrivate {
|
||||
app.get('/api/user/export', UserController.export)
|
||||
app.post('/api/user/create', UserController.create)
|
||||
app.put('/api/user/update/:id', UserController.update)
|
||||
app.put('/api/user/add_role/:id/:id_role', UserController.addRole)
|
||||
app.put('/api/user/delete_role/:id/:id_role', UserController.deleteRole)
|
||||
app.put('/api/user/update_profile', UserController.updateProfile)
|
||||
app.put('/api/user/update_password', UserController.updatePassword)
|
||||
app.get('/api/user/detail/:id', UserController.detail)
|
||||
|
||||
Reference in New Issue
Block a user