Lines Matching full:privilege
42 * @brief A vector of all privilege names and their indexes
43 * The privilege "OpenBMCHostConsole" is added to users who are members of the
44 * "hostconsole" user group. This privilege is required to access the host
62 * unique privilege name.
64 * A bit is set if the privilege is required (entity domain) or granted
85 for (const char* privilege : privilegeList) in Privileges() local
87 if (!setSinglePrivilege(privilege)) in Privileges()
89 BMCWEB_LOG_CRITICAL("Unable to set privilege {} in constructor", in Privileges()
90 privilege); in Privileges()
96 * @brief Sets given privilege in the bitset
98 * @param[in] privilege Privilege to be set
103 bool setSinglePrivilege(std::string_view privilege) in setSinglePrivilege() argument
108 if (privilege == privilegeNames[searchIndex]) in setSinglePrivilege()
119 * @brief Resets the given privilege in the bitset
121 * @param[in] privilege Privilege to be reset
126 bool resetSinglePrivilege(const char* privilege) in resetSinglePrivilege() argument
131 if (privilege == privilegeNames[searchIndex]) in resetSinglePrivilege()
146 * the setSinglePrivilege is called, or the Privilege structure is destroyed
174 * @brief Determines if this Privilege set is a superset of the given
175 * privilege set
177 * @param[in] privilege Privilege to be checked
188 * @brief Returns the intersection of two Privilege sets.
190 * @param[in] privilege Privilege set to intersect with.
192 * @return The new Privilege set.
217 // Redfish privilege : host console access in getUserPrivileges()
225 // Redfish privilege : Administrator in getUserPrivileges()
234 // Redfish privilege : Operator in getUserPrivileges()
241 // Redfish privilege : Readonly in getUserPrivileges()
254 * This represents the Redfish "Privilege AND and OR syntax" as given
255 * in the spec and shown in the Privilege Registry. This does not
258 * the ConfigureSelf privilege to operate only on your own account or