_listPolicies() {
    let list = [];
    Object.keys(this._policies.flatTree).forEach(path => {
      const policies = path.split('.').filter(policy => !list.includes(policy));
      list = [...list, ...policies];
    });
    this._policies.list = list;
    return list;
  }
/**
   * list the policies
   *
   * Read the tree then extract each policy found in it
   * @returns {Array}
   * @private
   */
list the policies
Read the tree then extract each policy found in it
@returns {Array}
@private
list the policies Read the tree then extract each policy found in it @returns { Array } @private
_listPolicies() {
    let list = [];
    Object.keys(this._policies.flatTree).forEach(path => {
      const policies = path.split('.').filter(policy => !list.includes(policy));
      list = [...list, ...policies];
    });
    this._policies.list = list;
    return list;
  }
_listPolicies ( ) { let list = [ ] ; Object . keys ( this . _policies . flatTree ) . forEach ( path => { const policies = path . split ( '.' ) . filter ( policy => ! list . includes ( policy ) ) ; list = [ ... list , ... policies ] ; } ) ; this . _policies . list = list ; return list ; }
list the policies
 Read the tree then extract each policy found in it
 @returns {Array}
 @private
list the policies Read the tree then extract each policy found in it @returns { Array } @private