The Orientation panel should be disabled when lacking write access on the corpus
- Find an element with an image.
- Open it with only guest access to the corpus.
- Change the orientation.
You do not have write access to the element.
- Note that the orientation stays set, as if you actually updated it, despite the error.
- Cry.
The whole panel should be read-only, as we can tell that the user does not have write access on the element through element.rights.include('write')
.