def _get_user_sudo_arguments(self, user):
        flags = self._get_common_sudo_arguments()
        flags += copy.copy(SUDO_DIFFERENT_USER_OPTIONS)
        flags += ['-u', user]
        return flags
Prepare allowed keys for property update.
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/models/system/action.py/ShellCommandAction._get_user_sudo_arguments--crossover with--dataset/ETHPy150Open openstack/group-based-policy-automation/gbpautomation/heat/engine/resources/gbpresource.py/GBPResource.prepare_update_properties