Skip to content

Issues with atlasimporter (Ampersand 5) #1501

@hanjoosten

Description

@hanjoosten

On porting the atlas importer to ampersand 5, I encounter the following issues with the expected .json structure. This is a list of required fixes at the side of the Atlas.

Rolerules (MAINTAINS statement in .adl)

In a rolerule statement, we need a list of names referring to a role and a list of names referring to a rule.
Not:

    "rolerules": [
        {
            "role": {
                "role": "User"
            },
            "rule": [
                "Rule1Ctx",
                "Rule1Ptn"
            ]
        }
    ],

But:

    "rolerules": [
        {
            "roles": [
                "User"
            ],
            "rules": [
                "Rule1Ctx",
                "Rule1Ptn"
            ]
        }
    ],

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

New RAP5

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions