async getPermissionGroupInfo (id) {
    const result = await db('permission_groups').where('id', id).select('*').first()

    if (!result) return null

    return {
      ...result,
      rule: JSON.parse(result.rule)
    }
  }
Get permission group info

@param {Int} id group id

@returns {Object} group info