Skip to content

BACKLOG-22749 - Manage permissions & roles import in JavaScript modules  #519

@jahia-ci

Description

@jahia-ci

Acceptance criteria

Given a nested file structure in settings/import (e.g. settings/import/roles.xml)

When the module package.tgz is pushed to Jahia

Then it should be interpreted as settings/import.zip

The goal is to be able to have the prepack live in the module, with benefits from a vcs (which you can't have with a big .zip file)

Notes

It's already implemented in Java, developers would expect the same API: the parent configuration automatically zip files in src/main/import to an "import.zip" file

Example:
Jahia/jahia-base-demo-templates@master/src/main/import

We don't have such a logic with JavaScript Modules, there fore it's currently not possible to import permissions, roles, and likely other content.

The goal of this ticket is to define how we want to support that use cases.

Note: This topic might be related to json export/imports and support for prepackaged sites.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions