add permission view
This commit is contained in:
@@ -425,8 +425,7 @@ async removeRoleFromUser(authId, roleId) {
|
||||
// 🔐 PERMISSION CRUD
|
||||
// =========================================================
|
||||
async getPermission() {
|
||||
const permission = this.db.get('permissionModel');
|
||||
console.log(permission)
|
||||
const permission = this.db.get('permissionOverviewView');
|
||||
return await permission.findAll({ raw: true }) || [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user