Closed fsbraun closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.50%. Comparing base (
f90c5b2
) to head (09e633e
). Report is 11 commits behind head on master.:exclamation: Current head 09e633e differs from pull request most recent head e7b95ed. Consider uploading reports for the commit e7b95ed to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This PR makes the use of action buttons ("Publish", "Unpublish", "Discard", "Archive") consistent:
Currently, for example, a user w/o publishing permission will not see a "Publish" button. After this PR they will see one (if the object is a draft) but it will be disabled.
This is also the behaviour of the core.
Additionally, the same rules apply for "archive" which so far did not check any conditions if the user can archive the object, and "unlock version" which so far had only hard-coded checks and did not use the conditions framework.
Related resources
391
...
Checklist
master