isPublicAllowed() {
    if ('*' in this._rules)
      return false;

    for (let ref in this._rules) {
      if (this._rules[ref] == 'allow') {
        return false;
      }
    }

    return true;
  }
/**
   * Gets whenever all users and roles have the permission to perform the operation
   * @return {boolean} <code>true</code> If public access is allowed
   */
Gets whenever all users and roles have the permission to perform the operation
@return {boolean} true If public access is allowed
Gets whenever all users and roles have the permission to perform the operation @return { boolean } true If public access is allowed
isPublicAllowed() {
    if ('*' in this._rules)
      return false;
    for (let ref in this._rules) {
      if (this._rules[ref] == 'allow') {
        return false;
      }
    }
    return true;
  }
isPublicAllowed ( ) { if ( '*' in this . _rules ) return false ; for ( let ref in this . _rules ) { if ( this . _rules [ ref ] == 'allow' ) { return false ; } } return true ; }
Gets whenever all users and roles have the permission to perform the operation
 @return {boolean} <code>true</code> If public access is allowed
Gets whenever all users and roles have the permission to perform the operation @return { boolean } <code > true< / code > If public access is allowed