I'm building a community in which new users (Accounts) are assigned to a given Partner after the signup. Hence, the Partner takes ownership of the account.
New users must provide additional information after the signup. This is done by showing a Flow in the community's landing page. This flow should then update the user's account with the given information.
The problem is that the account is not owned by the new user, but by the Partner, so attempts to update the user's Account information within the flow fail:
Error element update_address (FlowRecordUpdate). The flow tried to update these records: null. This error occurred: INSUFFICIENT_ACCESS_OR_READONLY: insufficient access rights on object id. [...]
I'm aware I could ask for all required information within the initial signup-form but I would like to avoid that to keep that form as simple as possible.
So I would like to know the best way to allow users to update their own Account information without messing too much with account ownership or organization-wide sharing settings.
- Person Accounts are activated in my org.
- I'm currently working around this by setting the Sharing Settings for the Account object to "Public Read/Write" for internal and external access, which surely is not a good practice.
Thanks in advance