Tom Joseph | bf21cfa | 2018-08-20 19:13:39 +0530 | [diff] [blame] | 1 | description: > |
| 2 | Implement to provide privilege for the group. |
| 3 | |
| 4 | properties: |
Tom Joseph | a584893 | 2018-09-30 16:00:54 +0530 | [diff] [blame] | 5 | - 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: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 11 | - xyz.openbmc_project.Common.Error.InternalFailure |
| 12 | - xyz.openbmc_project.Common.Error.InvalidArgument |
| 13 | - xyz.openbmc_project.User.Common.Error.PrivilegeMappingExists |
Tom Joseph | bf21cfa | 2018-08-20 19:13:39 +0530 | [diff] [blame] | 14 | - 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 |
Patrick Williams | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 20 | thrown if the privilege is invalid. Additional documentation on |
| 21 | privilege is available here. |
Patrick Williams | fdd8828 | 2020-05-15 07:24:30 -0500 | [diff] [blame] | 22 | https://github.com/openbmc/docs/blob/master/architecture/user-management.md |
Tom Joseph | bf21cfa | 2018-08-20 19:13:39 +0530 | [diff] [blame] | 23 | |
| 24 | errors: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 25 | - xyz.openbmc_project.Common.Error.InternalFailure |
| 26 | - xyz.openbmc_project.Common.Error.InvalidArgument |