Ampersand
Ampersand copied to clipboard
Issues with atlasimporter (Ampersand 5)
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"
]
}
],