Open
Description
It would be nice to implement parent api.
From the very limited tests I've done, it seems to be the student api with an additionnal field in signature to tell which resource to impersonate.
Adding those few lines in request-function.ts
did the trick in my little test:
if (this.session?.user && this.data?._Signature_) {
if (this.session.information.accountKind === AccountKind.PARENT) {
this.data._Signature_.membre = {
N: this.session.user.resources.at(0)?.id,
G: 4,
};
}
}
I don't know what the 4 is for :)