@alias(foo) @alias(bar) resource baz { @alias(list) fn read(domain source) { allow(source, this, dir, read); } } domain quz { allow(this, foo, file, read); allow(this, bar, file, write); allow(this, baz, file, open); foo.list(this); }