A new key, *permissions*, has been added to form_config and jinja rendering context.
The value is a dictionary containing on record:
python
{
"can_delete_draft": False,
"can_edit": False,
"can_manage": False,
"can_manage_files": False,
"can_manage_record_access": False,
"can_new_version": False,
"can_read_files": False,
"can_review": False,
"can_update_draft": False,
"can_view": False,
}
and on search:
python
permissions={"can_create": True}