hasPermission method

bool hasPermission(
  1. String pathName
)

Implementation

bool hasPermission(String pathName) {
  if (currentDetails == null) return false;
  final normalizedPath = _normalizePath(pathName);
  final camelPath = snakeToCamel(normalizedPath);

  return _hasFullAccess(normalizedPath, camelPath) ||
      _hasReadOnlyAccess(normalizedPath);
}