Skip to content

The Orientation panel should be disabled when lacking write access on the corpus

  1. Find an element with an image.
  2. Open it with only guest access to the corpus.
  3. Change the orientation.
  4. You do not have write access to the element.
  5. Note that the orientation stays set, as if you actually updated it, despite the error.
  6. 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').