cms icon indicating copy to clipboard operation
cms copied to clipboard

[4.x] Add entry and term empty view permission checks

Open jacksleight opened this issue 1 year ago • 0 comments

This PR adds permission checks to the entry and term empty views, so that these options only appear if you have permission to access them:

Screenshot 2024-01-23 at 09 29 45

If you don't have permission to access anything it shows a simple placeholder:

Screenshot 2024-01-23 at 09 30 42

Additionally this PR includes three related changes:

  1. The scaffold index method now requires the same permission as the scaffold create method, since there's no point in being able to access the form if you can't submit it.
  2. Adds a Configure Blueprints option to the empty terms view.
  3. The docs link on the empty term view has been moved to a callout style box at the bottom, which matches how the entry and collection/taxonomy views do it.

jacksleight avatar Jan 23 '24 09:01 jacksleight