E0305

generated from midad spec --json at build time; not edited by hand

E0305 error

static: "{dir}" serves a directory, so it needs an fs_read grant that covers it

What to do

add fs_read: ["{dir}/"] under permissions: in the frontmatter

From the binary

$ midad explain E0305
E0305 (error)
  `static: "{dir}"` serves a directory, so it needs an `fs_read` grant that covers it
  fix: add `fs_read: ["{dir}/"]` under `permissions:` in the frontmatter

A message template can carry {} where the checker fills in the values it saw: the type it expected, the target it refused, the name it could not find.

On this page