Home
last modified time | relevance | path

Searched full:usergroups (Results 1 – 15 of 15) sorted by relevance

/openbmc/bmcweb/include/
H A Ddbus_privileges.hpp37 std::optional<std::vector<std::string>> userGroups; in populateUserInfo()
42 passwordExpired, "UserGroups", userGroups); in populateUserInfo()
50 if (!remoteUser && (!passwordExpired || !userGroups)) in populateUserInfo()
53 "Missing UserPasswordExpired or UserGroups property for local user"); in populateUserInfo()
65 session.userGroups.clear(); in populateUserInfo()
66 if (userGroups) in populateUserInfo()
68 session.userGroups.swap(*userGroups); in isUserPrivileged()
31 std::optional<std::vector<std::string>> userGroups; populateUserInfo() local
H A Dsessions.hpp61 std::vector<std::string> userGroups;
50 std::vector<std::string> userGroups; global() member
/openbmc/phosphor-user-manager/
H A Dusers.cpp68 UsersIface::userGroups(groups, true); in Users()
93 manager.updateGroupsAndPriv(userName, UsersIface::userGroups(), value); in userPrivilege()
104 UsersIface::userGroups(groups); in setUserGroups()
119 std::vector<std::string> Users::userGroups(std::vector<std::string> value) in userGroups() function in phosphor::user::Users
121 if (value == UsersIface::userGroups()) in userGroups()
127 return UsersIface::userGroups(value); in userGroups()
133 std::vector<std::string> Users::userGroups(void) const in userGroups() function in phosphor::user::Users
135 return UsersIface::userGroups(); in userGroups()
H A Dusers.hpp88 userGroups(std::vector<std::string> value) override;
93 std::vector<std::string> userGroups(void) const override;
H A Duser_mgr.cpp483 usersList[userName].get()->userGroups()); in renameUser()
496 std::vector<std::string> groupNames = user.get()->userGroups(); in renameUser()
522 usersList[userName].get()->userGroups(); in updateGroupsAndPriv()
1204 userInfo.emplace("UserGroups", user.get()->userGroups()); in getUserInfo()
1446 std::vector<std::string> userGroups; in initUserObjects() local
1461 userGroups.emplace_back(grp.first); in initUserObjects()
1469 std::sort(userGroups.begin(), userGroups.end()); in initUserObjects()
1471 bus, objPath.c_str(), userGroups, in initUserObjects()
/openbmc/bmcweb/redfish-core/lib/
H A Daccount_service.hpp132 * @param[in] userGroups List of User groups in translateUserGroup()
135 * @return true in case of success, false if UserGroups contains in translateUserGroup()
138 inline bool translateUserGroup(const std::vector<std::string>& userGroups, in translateUserGroup()
142 for (const auto& userGroup : userGroups) in translateUserGroup()
165 // 'web' is one of the valid groups in the UserGroups property of
187 * @param[out] userGroups List of User Groups mapped from Account Types in getUserGroupFromAccountType()
193 std::vector<std::string>& userGroups) in getUserGroupFromAccountType()
211 userGroups.emplace_back("ipmi"); in getUserGroupFromAccountType()
215 userGroups.emplace_back("hostconsole"); in getUserGroupFromAccountType()
219 userGroups in getUserGroupFromAccountType()
115 translateUserGroup(const std::vector<std::string> & userGroups,crow::Response & res) translateUserGroup() argument
170 getUserGroupFromAccountType(crow::Response & res,const std::vector<std::string> & accountTypes,std::vector<std::string> & userGroups) getUserGroupFromAccountType() argument
1824 std::vector<std::string> userGroups; processAfterGetAllGroups() local
2056 const std::vector<std::string>* userGroups = nullptr; handleAccountGet() local
[all...]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/User/
H A DManager.interface.yaml83 UserGroups -> list of groups user belongs to(array[string])
93 2.UserInfo["UserGroups"] gets list of groups of user.
H A DAttributes.interface.yaml7 - name: UserGroups
H A DREADME.md52 - UserGroups - Groups to which the user belongs.
/openbmc/phosphor-user-manager/test/
H A Duser_mgr_test.cpp128 std::get<std::vector<std::string>>(userInfo["UserGroups"])); in TEST_F()
694 EXPECT_THAT(std::get<GroupList>(userInfo["UserGroups"]), in TEST_F()
719 EXPECT_THAT(std::get<GroupList>(userInfo["UserGroups"]), in TEST_F()
745 EXPECT_THAT(std::get<GroupList>(userInfo["UserGroups"]), in TEST_F()
/openbmc/bmcweb/redfish-core/include/
H A Dprivileges.hpp213 for (const auto& userGroup : session.userGroups) in getUserPrivileges()
/openbmc/linux/include/linux/mtd/
H A Dcfi.h175 uint16_t UserGroups; member
/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c439 otp->UserGroups = le16_to_cpu(otp->UserGroups); in read_pri_intelext()
2441 reg_user_groups = otp->UserGroups; in cfi_intelext_otp_walk()
/openbmc/docs/architecture/
H A Duser-management.md138 | | P: UserGroups, UserPrivilege, UserEnabled, | |
/openbmc/phosphor-host-ipmid/user_channel/
H A Duser_mgmt.cpp100 static constexpr const char* userGrpProperty = "UserGroups";