Ampersand icon indicating copy to clipboard operation
Ampersand copied to clipboard

Issues with atlasimporter (Ampersand 5)

Open hanjoosten opened this issue 6 months ago • 0 comments

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"
            ]
        }
    ],

hanjoosten avatar Sep 01 '24 19:09 hanjoosten