summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/User
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@linux.vnet.ibm.com>2018-11-03 12:28:06 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-26 13:19:37 +0000
commit0e6d655be2bf19c61196a27e7ce36645520bc7c1 (patch)
treec11b3fd02709092e8a4aab0a3bbe515f552e7b40 /xyz/openbmc_project/User
parent77e5649bad5f1c7d6d7a7c71a16420c9ec3e6b8e (diff)
downloadphosphor-dbus-interfaces-0e6d655be2bf19c61196a27e7ce36645520bc7c1.tar.gz
phosphor-dbus-interfaces-0e6d655be2bf19c61196a27e7ce36645520bc7c1.zip
Add errors to User/Attributes interface
Setting properties in this interface could fail to due to internal failures. Change-Id: I8bc84dcf105ece0f5322315d02dea7fa919444fc Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/User')
-rw-r--r--xyz/openbmc_project/User/Attributes.interface.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/xyz/openbmc_project/User/Attributes.interface.yaml b/xyz/openbmc_project/User/Attributes.interface.yaml
index 31d9939..c4f18ad 100644
--- a/xyz/openbmc_project/User/Attributes.interface.yaml
+++ b/xyz/openbmc_project/User/Attributes.interface.yaml
@@ -8,16 +8,22 @@ properties:
type: array[string]
description: >
Groups to which the user belong.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
- name: UserPrivilege
type: string
description: >
Privilege of the user.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
- name: UserEnabled
type: boolean
description: >
Enabled or disabled state of the user.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
- name: UserLockedForFailedAttempt
type: boolean
@@ -28,4 +34,6 @@ properties:
this property. This property will return true if user is locked
out user. AccountUnlockTimeout property can be configured to unlock
the user after a timeout.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud