stable

Clone or download

Read-only

feat: add no access view

The no access view is displayed when the user doesn't have the permision to read at least one of the document artifact. To test this view, you can setup your database with an artifact not readable by your user, and add it to your artidoc. Part of story #37542: display a read only Document Change-Id: I90473689bceaac6395fc9d814ec46bbf770525af

Modified Files

Name
M plugins/artidoc/scripts/artidoc/po/fr_FR.po +6 βˆ’0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/App.test.ts +50 βˆ’3 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/App.vue +4 βˆ’0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/assets/RestrictedDocumentIllustration.vue +117 βˆ’0 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/assets/Tumbleweed.vue +2 βˆ’2 Go to diff View file
R plugins/artidoc/scripts/artidoc/src/components/EmptyStateMessageWithImage.test.ts Go to diff View file
R plugins/artidoc/scripts/artidoc/src/components/EmptyStateMessageWithImage.vue Go to diff View file
M plugins/artidoc/scripts/artidoc/src/views/EmptyState.test.ts +2 βˆ’2 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/views/EmptyState.vue +4 βˆ’4 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/views/NoAccessState.test.ts +46 βˆ’0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/views/NoAccessState.vue +37 βˆ’0 Go to diff View file