feat: add roles and permissions component (#342)

Fixes #175
This commit is contained in:
Jonathan Zhang
2018-12-09 00:55:18 +05:30
committed by Abhay Chawla
parent 07573d011c
commit ed94d7492d
9 changed files with 207 additions and 3 deletions
+7
View File
@@ -32,6 +32,13 @@ export class SystemService {
return this.http.get('/hooks');
}
/**
* @returns {Observable<any>} Fetches Roles and Permissions
*/
getRoles(): Observable<any> {
return this.http.get('/roles');
}
/**
* @returns {Observable<any>} Fetches Codes.
*/