Ampersand
Ampersand copied to clipboard
Need for a `sessionV` relation?
As I am exercising the CRUD functionality of branch_#228 in the UETP project, I run into the situation where a user is editing a (nested) object, and as (s)he does so, ExecEngine rules want to assist this user by already inserting information that is related to the user's account. The point here is that I cannot express such rules, because even though '_SESSION';sessionAccount
gets me the user's account, this expression will readily work in sessions where other users are logged in.
One way to address this is to find a way to relate the (nested) object(s) that are being edited in a session to the '_SESSION'-atom of that session. I envisage relations sessionV[SESSION*Concept]
and sessionV[Concept*SESSION]
for arbitrary Concept
s (like the relation V
itself), which the ampersand-engineer may consider to be automatically populated with the pairs ('_SESSION'
,'atom;') where 'atom' is in 'Concept' and 'atom' is being edited in '_SESSION'
.
Any other ideas?