Home
last modified time | relevance | path

Searched refs:groupName (Results 1 – 22 of 22) sorted by relevance

/openbmc/phosphor-led-manager/manager/
H A Dconfig-validator.cpp83 const std::string groupName, in validateConfigV1GroupForLedPriority() argument
89 error::MixedLedAndGroupPriority, groupName, in validateConfigV1GroupForLedPriority()
98 groupName, ledAction.name, in validateConfigV1GroupForLedPriority()
112 for (const auto& [groupName, group] : ledMap) in validateConfigV1ForLedPriority()
114 validateConfigV1GroupForLedPriority(groupName, group, priorityMap); in validateConfigV1ForLedPriority()
119 const std::string groupName, in validateConfigV1GroupForGroupPriority() argument
127 error::MixedLedAndGroupPriority, groupName, led.name, in validateConfigV1GroupForGroupPriority()
135 throw ConfigValidationException(error::InvalidGroupPriority, groupName, in validateConfigV1GroupForGroupPriority()
156 for (const auto& [groupName, group] : ledMap) in validateConfigV1ForGroupPriority()
158 validateConfigV1GroupForGroupPriority(groupName, group); in validateConfigV1ForGroupPriority()
H A Dconfig-validator.hpp47 const std::string& groupName, in ConfigValidationException() argument
52 "GROUP", groupName, "MSG", msg.c_str()); in ConfigValidationException()
56 const std::string& groupName, in ConfigValidationException() argument
63 "GROUP", groupName, "LED", ledName, "MSG", msg.c_str()); in ConfigValidationException()
H A Djson-parser.hpp107 const std::string groupName = entry.value("group", ""); in loadJsonConfigV1Group() local
109 tmpPath /= groupName; in loadJsonConfigV1Group()
113 lg2::debug("config for '{GROUP}'", "GROUP", groupName); in loadJsonConfigV1Group()
/openbmc/webui-vue/src/views/SecurityAndAccess/Ldap/
H A DModalAddRoleGroup.vue18 <dt>{{ $t('pageLdap.modal.groupName') }}</dt>
26 :label="$t('pageLdap.modal.groupName')"
31 v-model="form.groupName"
32 :state="getValidationState(v$.form.groupName)"
33 @input="v$.form.groupName.$touch()"
97 Object.prototype.hasOwnProperty.call(prop, 'groupName') &&
112 groupName: null,
125 this.form.groupName = value.groupName;
132 groupName: {
149 groupName: this.form.groupName,
[all …]
H A DTableRoleGroups.vue136 key: 'groupName',
138 label: i18n.global.t('pageLdap.tableRoleGroups.groupName'),
168 groupName: RemoteGroup,
228 groupName: row.groupName,
254 saveRoleGroup({ addNew, groupName, groupPrivilege }) {
256 const data = { groupName, groupPrivilege };
/openbmc/phosphor-mrw-tools/
H A Dgen_led_groups.pl168 my $groupName = $groups[$i];
169 printDebug("$groupName\n");
184 $hashGroup{$groupName}{$name}{"Action"} = $action;
185 $hashGroup{$groupName}{$name}{"Period"} = $period;
186 $hashGroup{$groupName}{$name}{"DutyOn"} = $dutyCycle;
213 my $groupName = $device . "Fault";
214 printDebug("$device :: $groupName\n");
219 $hashGroup{$groupName}{$led}{"Action"} = "'On'";
220 $hashGroup{$groupName}{$led}{"Period"} = 0;
221 $hashGroup{$groupName}{$led}{"DutyOn"} = 50;
[all …]
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dldap_mapper_entry.cpp17 const std::string& groupName, in LDAPMapperEntry() argument
24 Interfaces::groupName(groupName, true); in LDAPMapperEntry()
40 std::string LDAPMapperEntry::groupName(std::string value) in groupName() function in phosphor::ldap::LDAPMapperEntry
42 if (value == Interfaces::groupName()) in groupName()
48 auto val = Interfaces::groupName(value); in groupName()
H A Dldap_mapper_serialize.cpp33 archive(entry.groupName(), entry.privilege()); in save()
48 std::string groupName{}; in load() local
51 archive(groupName, privilege); in load()
54 groupName(groupName, true); in load()
H A Dldap_mapper_entry.hpp48 const char* filePath, const std::string& groupName,
73 std::string groupName(std::string value) override;
87 groupName;
H A Dldap_config.cpp743 ObjectPath Config::create(std::string groupName, std::string privilege) in create() argument
745 checkPrivilegeMapper(groupName); in create()
761 groupName, privilege, *this); in create()
783 void Config::checkPrivilegeMapper(const std::string& groupName) in checkPrivilegeMapper() argument
785 if (groupName.empty()) in checkPrivilegeMapper()
794 if (val.second.get()->groupName() == groupName) in checkPrivilegeMapper()
797 groupName); in checkPrivilegeMapper()
H A Dldap_config.hpp210 ObjectPath create(std::string groupName, std::string privilege) override;
229 void checkPrivilegeMapper(const std::string& groupName);
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp132 if (groupName.starts_with(prefix)) in checkAndThrowsForGroupChangeAllowed()
141 groupName); in checkAndThrowsForGroupChangeAllowed()
207 const std::string& groupName) in checkAndThrowForDisallowedGroupCreation() argument
210 !std::regex_match(groupName.c_str(), in checkAndThrowForDisallowedGroupCreation()
425 void UserMgr::deleteGroup(std::string groupName) in deleteGroup() argument
427 checkDeleteGroupConstraints(groupName); in deleteGroup()
430 executeGroupDeletion(groupName.c_str()); in deleteGroup()
462 checkCreateGroupConstraints(groupName); in createGroup()
472 groupsMgr.push_back(groupName); in createGroup()
1177 groupName); in isGroupMember()
[all …]
H A Duser_mgr.hpp259 void createGroup(std::string groupName) override;
261 void deleteGroup(std::string groupName) override;
382 virtual void executeGroupCreation(const char* groupName);
384 virtual void executeGroupDeletion(const char* groupName);
400 void throwForInvalidGroups(const std::vector<std::string>& groupName);
407 void checkCreateGroupConstraints(const std::string& groupName);
412 void checkDeleteGroupConstraints(const std::string& groupName);
418 void checkAndThrowForDisallowedGroupCreation(const std::string& groupName);
446 std::vector<std::string> getUsersInGroup(const std::string& groupName);
485 const std::string& groupName) const;
/openbmc/webui-vue/src/store/modules/SecurityAndAccess/
H A DLdapStore.js187 { groupName, groupPrivilege }, field in LdapStore.actions.AnonymousClassb567187a0c01
196 RemoteGroup: groupName,
209 groupName, field in AnonymousClassb567187a0e01
217 async saveRoleGroup({ dispatch, getters }, { groupName, groupPrivilege }) { field in LdapStore.actions.AnonymousClassb567187a1001
222 if (group.RemoteGroup === groupName) {
224 RemoteGroup: groupName,
240 i18n.global.t('pageLdap.toast.successSaveRoleGroup', { groupName }), field in AnonymousClassb567187a1101
252 if (find(roleGroups, { groupName: group.RemoteGroup })) { property in LdapStore.actions.deleteRoleGroup.AnonymousClassb567187a1401
/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp1075 std::string groupName = "openbmc_rfr_role"; in TEST_F() local
1076 groupName += std::to_string(i); in TEST_F()
1077 EXPECT_NO_THROW(createGroup(groupName)); in TEST_F()
1085 groupName += std::to_string(i); in TEST_F()
1086 EXPECT_NO_THROW(deleteGroup(groupName)); in TEST_F()
1092 std::string groupName = "openbmc_rfr_role"; in TEST_F() local
1093 EXPECT_NO_THROW(createGroup(groupName)); in TEST_F()
1095 createGroup(groupName), in TEST_F()
1097 EXPECT_NO_THROW(deleteGroup(groupName)); in TEST_F()
1152 std::string groupName = "openbmc_rfr_role1"; in TEST_F() local
[all …]
H A Dmock_user_mgr.hpp24 const std::string& groupName));
H A Dldap_config_test.cpp782 std::string groupName = "admin"; in TEST_F() local
790 bus, dbusPath.c_str(), dbusPersistentFilePath.c_str(), groupName, in TEST_F()
/openbmc/openbmc-tools/openbmctool/
H A DREADME.md205 openbmctool.py <connection options> ldap privilege-mapper create --groupName=<groupName> --privileg…
211 openbmctool.py <connection options> ldap privilege-mapper delete --groupName=<groupName>
H A Dopenbmctool.py4296 data = {"data": [args.groupName,args.privilege]}
4301 data = {"data": [args.groupName,args.privilege]}
4367 if value['GroupName'] == args.groupName:
4383 if value['GroupName'] == args.groupName:
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0014-Handle-missing-gshadow.patch49 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(g->group_name)),
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0014-Handle-missing-gshadow.patch49 … JSON_BUILD_PAIR("groupName", JSON_BUILD_STRING(g->group_name)),
/openbmc/bmcweb/redfish-core/lib/
H A Daccount_service.hpp67 std::string groupName; member
349 BMCWEB_LOG_DEBUG("Pushing the data groupName={}", obj.second.groupName); in parseLDAPConfigData()
352 remoteGroup["RemoteGroup"] = obj.second.groupName; in parseLDAPConfigData()
682 roleMapData.groupName = *strValue; in getLDAPConfigData()