From bf21cfa8640c968a5e825b141866b858118fb1a1 Mon Sep 17 00:00:00 2001 From: Tom Joseph Date: Mon, 20 Aug 2018 19:13:39 +0530 Subject: 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 --- .../User/PrivilegeMapperEntry.interface.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 xyz/openbmc_project/User/PrivilegeMapperEntry.interface.yaml (limited to 'xyz/openbmc_project/User/PrivilegeMapperEntry.interface.yaml') 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 -- cgit v1.2.1