Role for subpage not saved

Product: PowerShell Universal
Version: 4.2.8

We seem not to be able to save a role on a sub page in a app.
If we use the gear menu on the subpage and add a role to the role line, it is not saved.
If we edit the page file directly and add -role ‘User’ after the NewUDPage -content{}, we can save it.
But if at a later stage we use the gear menu again, the role is removed from the page.
Is this by design?