File tree 3 files changed +38
-0
lines changed
yaml/xyz/openbmc_project/User
3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 16
16
# xyz.openbmc_project.User.Common.Error.PrivilegeMappingExists
17
17
- name : PrivilegeMappingExists
18
18
description : Specified privilege mapping already exists.
19
+ # xyz.openbmc_project.User.Common.Error.GroupNameExists
20
+ - name : GroupNameExists
21
+ description : Specified group name already exists.
22
+ # xyz.openbmc_project.User.Common.Error.GroupNameDoesNotExist
23
+ - name : GroupNameDoesNotExist
24
+ description : Specified group name does not exist.
Original file line number Diff line number Diff line change 17
17
meta :
18
18
- str : " REASON=%s"
19
19
type : string
20
+ - name : GroupNameExists
21
+ level : ERR
22
+ - name : GroupNameDoesNotExist
23
+ level : ERR
Original file line number Diff line number Diff line change @@ -100,6 +100,34 @@ methods:
100
100
- xyz.openbmc_project.Common.Error.InvalidArgument
101
101
- xyz.openbmc_project.User.Common.Error.UserNameDoesNotExist
102
102
103
+ - name : CreateGroup
104
+ description : >
105
+ Creates a new groups. If the group already exists, or the
106
+ group name is not allowed to be created, it throws an error.
107
+ parameters :
108
+ - name : GroupName
109
+ type : string
110
+ description : >
111
+ The group to be added to the system.
112
+ errors :
113
+ - xyz.openbmc_project.Common.Error.InternalFailure
114
+ - xyz.openbmc_project.Common.Error.InvalidArgument
115
+ - xyz.openbmc_project.User.Common.Error.GroupNameExists
116
+
117
+ - name : DeleteGroup
118
+ description : >
119
+ Deletes an existing groups. If the group doesn't exists, or the
120
+ group name is not allowed to be deleted, it throws an error.
121
+ parameters :
122
+ - name : GroupName
123
+ type : string
124
+ description : >
125
+ The group to be deleted from the system.
126
+ errors :
127
+ - xyz.openbmc_project.Common.Error.InternalFailure
128
+ - xyz.openbmc_project.Common.Error.InvalidArgument
129
+ - xyz.openbmc_project.User.Common.Error.GroupNameDoesNotExist
130
+
103
131
properties :
104
132
- name : AllPrivileges
105
133
type : array[string]
You can’t perform that action at this time.
0 commit comments