blob: e629982c1842ddda230ebc38795f24d795a16125 [file] [log] [blame]
Tom Josephbf21cfa2018-08-20 19:13:39 +05301description: >
2 Implement to provide privilege for the group.
3
4properties:
Tom Josepha5848932018-09-30 16:00:54 +05305 - name: GroupName
6 type: string
7 description: >
8 Group Name to which the privilege is to be assigned. In the case of
9 LDAP, the GroupName will be the LDAP group the user is part of.
10 errors:
11 - xyz.openbmc_project.Common.Error.InternalFailure
12 - xyz.openbmc_project.Common.Error.InvalidArgument
13 - xyz.openbmc_project.User.Common.Error.PrivilegeMappingExists
Tom Josephbf21cfa2018-08-20 19:13:39 +053014 - name: Privilege
15 type: string
16 description: >
17 One of the privilege as defined by
18 xyz.openbmc_project.User.Manager.AllPrivileges.
19 xyz.openbmc_project.Common.Error.InvalidArgument exception will be
20 thrown if the privilege is invalid. Additional documentation
21 on privilege is available here.
Patrick Williamsfdd88282020-05-15 07:24:30 -050022 https://github.com/openbmc/docs/blob/master/architecture/user-management.md
Tom Josephbf21cfa2018-08-20 19:13:39 +053023
24 errors:
25 - xyz.openbmc_project.Common.Error.InternalFailure
Gunnar Mills3f86d122019-10-17 12:16:58 -050026 - xyz.openbmc_project.Common.Error.InvalidArgument