commit | da67a61695d9717b640b3288c673c2dba2b0e94c | [log] [tgz] |
---|---|---|
author | Chalapathi <chalapathix.venkataramashetty@intel.com> | Mon May 11 20:03:44 2020 +0000 |
committer | Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com> | Sun Jun 07 07:17:56 2020 +0000 |
tree | 92af8b34bbb33ffc62fb8a900eeaf639b2c1f729 | |
parent | fcc419b3dac9003d5c775db7d9225a55857dc237 [diff] |
Updated UserPrivilege errors with InvalidArgument Adding InvalidArgument error to the UserPrivilege property, which will be returned, when specified user privilege is not in the list as per the xyz.openbmc_project.User.Manager - AllPrivileges property Tested: 1. Update the UserPrivilege to unknown privilege. Command: busctl set-property xyz.openbmc_project.User.Manager /xyz/openbmc_project/user/user3 xyz.openbmc_project.User. Attributes UserPrivilege s "test" Response: Failed to set property UserPrivilege on interface xyz.openbmc_ project.User.Attributes: Invalid argument was given. 2. Update the UserPrivilege to "priv-user" Command: busctl set-property xyz.openbmc_project.User.Manager /xyz/openbmc_project/user/user3 xyz.openbmc_project.User. Attributes UserPrivilege s "priv-user" Response: Signed-off-by: Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com> Change-Id: I82ecc7873ec23e99291f80c4f00481d556c25931
YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.
Only the xyz/openbmc_project interfaces are built by default.
Enable the OpenPower D-Bus interfaces with:
--enable-openpower-dbus-interfaces
Enable IBM D-Bus interfaces with:
--enable-ibm-dbus-interfaces