Ampersand icon indicating copy to clipboard operation
Ampersand copied to clipboard

Need for a `sessionV` relation?

Open RieksJ opened this issue 8 years ago • 5 comments

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 Concepts (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?

RieksJ avatar Mar 30 '16 04:03 RieksJ