Home
last modified time | relevance | path

Searched refs:groupName (Results 1 – 21 of 21) 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.vue17 <dt>{{ i18n.t('pageLdap.modal.groupName') }}</dt>
18 <dd style="word-break: break-all">{{ form.groupName }}</dd>
25 :label="i18n.t('pageLdap.modal.groupName')"
30 v-model="form.groupName"
31 :state="getValidationState(v$.form.groupName)"
32 @input="v$.form.groupName.$touch()"
96 Object.prototype.hasOwnProperty.call(prop, 'groupName') &&
117 groupName: null,
143 this.form.groupName = value.groupName;
150 groupName: {
[all …]
H A DTableRoleGroups.vue150 key: 'groupName',
152 label: i18n.global.t('pageLdap.tableRoleGroups.groupName'),
182 groupName: RemoteGroup,
240 groupName: row.groupName,
270 saveRoleGroup({ addNew, groupName, groupPrivilege }) {
272 const data = { groupName, groupPrivilege };
/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-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;
187 $hashGroup{$groupName}{$name}{"Priority"} = $priority;
213 my $groupName = $device . "Fault";
214 printDebug("$device :: $groupName\n");
219 $hashGroup{$groupName}{$led}{"Action"} = "'On'";
220 $hashGroup{$groupName}{$led}{"Period"} = 0;
[all …]
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp127 void checkAndThrowsForGroupChangeAllowed(const std::string& groupName) in checkAndThrowsForGroupChangeAllowed() argument
132 if (groupName.starts_with(prefix)) in checkAndThrowsForGroupChangeAllowed()
141 groupName); in checkAndThrowsForGroupChangeAllowed()
143 Argument::ARGUMENT_VALUE(groupName.c_str())); in checkAndThrowsForGroupChangeAllowed()
226 const std::string& groupName) in checkAndThrowForDisallowedGroupCreation() argument
228 if (groupName.size() > maxSystemGroupNameLength || in checkAndThrowForDisallowedGroupCreation()
229 !std::regex_match(groupName.c_str(), in checkAndThrowForDisallowedGroupCreation()
232 lg2::error("Invalid group name '{GROUP}'", "GROUP", groupName); in checkAndThrowForDisallowedGroupCreation()
234 Argument::ARGUMENT_VALUE(groupName.c_str())); in checkAndThrowForDisallowedGroupCreation()
236 checkAndThrowsForGroupChangeAllowed(groupName); in checkAndThrowForDisallowedGroupCreation()
[all …]
H A Duser_mgr.hpp351 void createGroup(std::string groupName) override;
353 void deleteGroup(std::string groupName) override;
485 virtual void executeGroupCreation(const char* groupName);
487 virtual void executeGroupDeletion(const char* groupName);
503 void throwForInvalidGroups(const std::vector<std::string>& groupName);
510 void checkCreateGroupConstraints(const std::string& groupName);
515 void checkDeleteGroupConstraints(const std::string& groupName);
521 void checkAndThrowForDisallowedGroupCreation(const std::string& groupName);
551 std::vector<std::string> getUsersInGroup(const std::string& groupName);
590 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,
241 groupName, field in AnonymousClassb567187a1101
254 if (find(roleGroups, { groupName: group.RemoteGroup })) { property in LdapStore.actions.deleteRoleGroup.AnonymousClassb567187a1401
/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp1077 std::string groupName(maxSystemGroupNameLength + 1, 'A'); in TEST_F() local
1079 checkAndThrowForDisallowedGroupCreation(groupName), in TEST_F()
1114 std::string groupName = "openbmc_rfr_role"; in TEST_F() local
1115 groupName += std::to_string(i); in TEST_F()
1116 EXPECT_NO_THROW(createGroup(groupName)); in TEST_F()
1123 std::string groupName = "openbmc_rfr_role"; in TEST_F() local
1124 groupName += std::to_string(i); in TEST_F()
1125 EXPECT_NO_THROW(deleteGroup(groupName)); in TEST_F()
1131 std::string groupName = "openbmc_rfr_role"; in TEST_F() local
1132 EXPECT_NO_THROW(createGroup(groupName)); in TEST_F()
[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/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.hpp75 std::string groupName; member
362 BMCWEB_LOG_DEBUG("Pushing the data groupName={}", obj.second.groupName); in parseLDAPConfigData()
365 remoteGroup["RemoteGroup"] = obj.second.groupName; in parseLDAPConfigData()
697 roleMapData.groupName = *strValue; in getLDAPConfigData()