mayOnlyAccessLayers

Asserts that this layer is only allowed to access the specified subset of layers.