diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2018-08-20 19:13:39 +0530 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-18 16:48:40 +0000 |
commit | bf21cfa8640c968a5e825b141866b858118fb1a1 (patch) | |
tree | 4dc068f344db1d346f9b42099eca645b7ffd3c99 /xyz/openbmc_project/User/PrivilegeMapperEntry.interface.yaml | |
parent | 06b4df97b7f271154abb1d28716cb3a782a27e96 (diff) | |
download | phosphor-dbus-interfaces-bf21cfa8640c968a5e825b141866b858118fb1a1.tar.gz phosphor-dbus-interfaces-bf21cfa8640c968a5e825b141866b858118fb1a1.zip |
Add interface to assign privilege to groups
This interface will be implemented to assign privilege roles to
groups. The privilege roles will be assigned to groups
and the user accounts which are part of the group will inherit
the privilege role.
Change-Id: I2326de5f7f3e6e92c2a0d7648a5677b33a0b1db0
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/User/PrivilegeMapperEntry.interface.yaml')
-rw-r--r-- | xyz/openbmc_project/User/PrivilegeMapperEntry.interface.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/xyz/openbmc_project/User/PrivilegeMapperEntry.interface.yaml b/xyz/openbmc_project/User/PrivilegeMapperEntry.interface.yaml new file mode 100644 index 0000000..a90989d --- /dev/null +++ b/xyz/openbmc_project/User/PrivilegeMapperEntry.interface.yaml @@ -0,0 +1,17 @@ +description: > + Implement to provide privilege for the group. + +properties: + - name: Privilege + type: string + description: > + One of the privilege as defined by + xyz.openbmc_project.User.Manager.AllPrivileges. + xyz.openbmc_project.Common.Error.InvalidArgument exception will be + thrown if the privilege is invalid. Additional documentation + on privilege is available here. + https://github.com/openbmc/docs/blob/master/user_management.md + + errors: + - xyz.openbmc_project.Common.Error.InternalFailure + - xyz.openbmc_project.Common.Error.InvalidArgument
\ No newline at end of file |