Hi,
I have certain parts of the model that I would like to keep secret to all users. Is that possible?
can-read: // nobody
Does not seem to work.
Oh and it is in interface data, so hiding is not possible either.
Hi,
I have certain parts of the model that I would like to keep secret to all users. Is that possible?
can-read: // nobody
Does not seem to work.
Oh and it is in interface data, so hiding is not possible either.
For that you can specify a contradiction with a stategroup
:
{
can-read: .'Lock'?'Always' where ( .'Lock'?'Forever' ) // always false
'Lock': stategroup = 'Always' ( ) (
'Always' { }
'Forever' { }
)
}
Ok, thanks! Could be shorter than this, but luckily this does not happen all that often.