deriveEntityAccess(accessType, withActingRights = false) {
		var entityAccess = [];
		if (this.EXPLICIT_ROW_ACCESS_QUERY) {
			entityAccess.push('JSON_EXTRACT(' + this.EXPLICIT_ROW_ACCESS_QUERY.alias + '.uac, "$.' + accessType + '")');
        }
        if (this.EXPLICIT_TABLE_ACCESS_QUERY) {
            entityAccess.push('JSON_EXTRACT(' + this.EXPLICIT_TABLE_ACCESS_QUERY.alias + '.uac, "$.' + accessType + '")');
        }
		entityAccess.push(getRightsRulesIntersectionExpression(rules(this.schema.uac, accessType), this.getGuestRightsExpression(), withActingRights));
        // ---------------------
		return 'COALESCE(' + entityAccess.join(', ') + ')';
	}
/**
	 * Creates the SQL logic that computes descreet access rules and all other rules into a final value
	 * - for entity access.
	 *
	 * @param string 	                accessType
	 * @param bool 		                withActingRights
	 *
	 * @return string
	 */
Creates the SQL logic that computes descreet access rules and all other rules into a final value
- for entity access.

@param string                        accessType
@param bool                          withActingRights

@return string
Creates the SQL logic that computes descreet access rules and all other rules into a final value - for entity access . @param string accessType @param bool withActingRights @return string
deriveEntityAccess(accessType, withActingRights = false) {
		var entityAccess = [];
		if (this.EXPLICIT_ROW_ACCESS_QUERY) {
			entityAccess.push('JSON_EXTRACT(' + this.EXPLICIT_ROW_ACCESS_QUERY.alias + '.uac, "$.' + accessType + '")');
        }
        if (this.EXPLICIT_TABLE_ACCESS_QUERY) {
            entityAccess.push('JSON_EXTRACT(' + this.EXPLICIT_TABLE_ACCESS_QUERY.alias + '.uac, "$.' + accessType + '")');
        }
		entityAccess.push(getRightsRulesIntersectionExpression(rules(this.schema.uac, accessType), this.getGuestRightsExpression(), withActingRights));
		return 'COALESCE(' + entityAccess.join(', ') + ')';
	}
deriveEntityAccess ( accessType , withActingRights = false ) { var entityAccess = [ ] ; if ( this . EXPLICIT_ROW_ACCESS_QUERY ) { entityAccess . push ( 'JSON_EXTRACT(' + this . EXPLICIT_ROW_ACCESS_QUERY . alias + '.uac, "$.' + accessType + '")' ) ; } if ( this . EXPLICIT_TABLE_ACCESS_QUERY ) { entityAccess . push ( 'JSON_EXTRACT(' + this . EXPLICIT_TABLE_ACCESS_QUERY . alias + '.uac, "$.' + accessType + '")' ) ; } entityAccess . push ( getRightsRulesIntersectionExpression ( rules ( this . schema . uac , accessType ) , this . getGuestRightsExpression ( ) , withActingRights ) ) ; return 'COALESCE(' + entityAccess . join ( ', ' ) + ')' ; }
Creates the SQL logic that computes descreet access rules and all other rules into a final value
 - for entity access.
Creates the SQL logic that computes descreet access rules and all other rules into a final value - for entity access .
// ---------------------