account: Set the IsParent metadata on the parent account
If parental controls are enabled (and hence g-i-s creates a parent
account as well as a main account), set the
com.endlessm.ParentalControls.AccountInfo.IsParent
property on the new
account. This is provided by malcontent, and stored as additional info
bolted on to the side of the user account by accounts-service (like the
rest of the parental controls data is stored).
This doesn’t use new APIs from libmalcontent yet because the APIs haven’t been decided. It’s more important at the moment to just get the property set, so that any users who use parental controls have the right metadata from the beginning; and we can build on that in future.
Signed-off-by: Philip Withnall withnall@endlessm.com
Fixes: #94 (closed)
Edited by Philip Withnall