Home
last modified time | relevance | path

Searched refs:privileges (Results 1 – 25 of 191) sorted by relevance

12345678

/openbmc/bmcweb/test/redfish-core/include/
H A Dprivileges_test.cpp20 Privileges privileges{"Login", "ConfigureManager"}; in TEST() local
22 EXPECT_THAT(privileges.getActivePrivilegeNames(PrivilegeType::BASE), in TEST()
100 Privileges privileges; in TEST() local
102 EXPECT_THAT(privileges.getActivePrivilegeNames(PrivilegeType::BASE), in TEST()
105 EXPECT_THAT(privileges.getActivePrivilegeNames(PrivilegeType::OEM), in TEST()
111 Privileges privileges; in TEST() local
113 EXPECT_THAT(privileges.getActivePrivilegeNames(PrivilegeType::BASE), in TEST()
122 EXPECT_TRUE(privileges.setSinglePrivilege(privilege)); in TEST()
126 privileges.getActivePrivilegeNames(PrivilegeType::BASE), in TEST()
134 Privileges privileges{"OpenBMCHostConsole"}; in TEST() local
[all …]
/openbmc/bmcweb/redfish-core/lib/
H A Dredfish_sessions.hpp365 .privileges(redfish::privileges::headSession) in requestRoutesSession()
370 .privileges(redfish::privileges::getSession) in requestRoutesSession()
375 .privileges(redfish::privileges::deleteSession) in requestRoutesSession()
380 .privileges(redfish::privileges::headSessionCollection) in requestRoutesSession()
385 .privileges(redfish::privileges::getSessionCollection) in requestRoutesSession()
395 .privileges({}) in requestRoutesSession()
400 .privileges({}) in requestRoutesSession()
405 .privileges(redfish::privileges::headSessionService) in requestRoutesSession()
410 .privileges(redfish::privileges::getSessionService) in requestRoutesSession()
415 .privileges(redfish::privileges::patchSessionService) in requestRoutesSession()
H A Daggregation_service.hpp58 .privileges(redfish::privileges::headAggregationService) in requestRoutesAggregationService()
62 .privileges(redfish::privileges::getAggregationService) in requestRoutesAggregationService()
128 .privileges(redfish::privileges::getAggregationSourceCollection) in requestRoutesAggregationSourceCollection()
133 .privileges(redfish::privileges::getAggregationSourceCollection) in requestRoutesAggregationSourceCollection()
221 .privileges(redfish::privileges::getAggregationSource) in requestRoutesAggregationSource()
H A Dredfish_v1.hpp228 .privileges(redfish::privileges::getJsonSchemaFile) in requestRoutesRedfish()
232 .privileges(redfish::privileges::getJsonSchemaFileCollection) in requestRoutesRedfish()
237 .privileges(redfish::privileges::getJsonSchemaFile) in requestRoutesRedfish()
244 .privileges(redfish::privileges::privilegeSetLogin)( in requestRoutesRedfish()
249 .privileges(redfish::privileges::privilegeSetLogin)( in requestRoutesRedfish()
H A Dcertificate_service.hpp877 .privileges(redfish::privileges::getCertificateService) in requestRoutesCertificateService()
882 .privileges(redfish::privileges::getCertificateLocations) in requestRoutesCertificateService()
889 .privileges(redfish::privileges::postCertificateService) in requestRoutesCertificateService()
896 .privileges(redfish::privileges::postCertificateService) in requestRoutesCertificateService()
1019 .privileges(redfish::privileges::getCertificateCollection) in requestRoutesHTTPSCertificate()
1032 .privileges(redfish::privileges::getCertificate) in requestRoutesHTTPSCertificate()
1150 .privileges(redfish::privileges::getCertificate) in requestRoutesLDAPCertificate()
1155 .privileges(redfish::privileges::deleteCertificate) in requestRoutesLDAPCertificate()
1294 .privileges(redfish::privileges::getCertificate) in requestRoutesTrustStoreCertificate()
1305 .privileges(redfish::privileges::getCertificate) in requestRoutesTrustStoreCertificate()
[all …]
H A Dlog_services.hpp1232 .privileges(redfish::privileges::getLogService) in requestRoutesEventLogService()
1701 .privileges(redfish::privileges::getLogEntry) in requestRoutesJournalEventLogEntry()
1850 .privileges(redfish::privileges::getLogEntry) in requestRoutesDBusEventLogEntry()
1878 .privileges(redfish::privileges::patchLogEntry) in requestRoutesDBusEventLogEntry()
2444 .privileges(redfish::privileges::getLogService) in requestRoutesBMCDumpService()
2461 .privileges(redfish::privileges::getLogEntry) in requestRoutesBMCDumpEntry()
2477 .privileges(redfish::privileges::getLogEntry) in requestRoutesBMCDumpEntryDownload()
2508 .privileges(redfish::privileges::getLogEntry) in requestRoutesDBusEventLogEntryDownload()
2535 .privileges(redfish::privileges::getLogEntry) in requestRoutesFaultLogDumpEntry()
2577 .privileges(redfish::privileges::getLogEntry) in requestRoutesSystemDumpEntry()
[all …]
H A Dthermal.hpp31 .privileges(redfish::privileges::getThermal) in requestRoutesThermal()
51 .privileges(redfish::privileges::patchThermal) in requestRoutesThermal()
H A Denvironment_metrics.hpp80 .privileges(redfish::privileges::headEnvironmentMetrics) in requestRoutesEnvironmentMetrics()
85 .privileges(redfish::privileges::getEnvironmentMetrics) in requestRoutesEnvironmentMetrics()
H A Dthermal_metrics.hpp82 .privileges(redfish::privileges::headThermalMetrics) in requestRoutesThermalMetrics()
88 .privileges(redfish::privileges::getThermalMetrics) in requestRoutesThermalMetrics()
H A Dbios.hpp55 .privileges(redfish::privileges::getBios) in requestRoutesBiosService()
108 .privileges(redfish::privileges::postBios) in requestRoutesBiosReset()
H A Dpower_subsystem.hpp89 .privileges(redfish::privileges::headPowerSubsystem) in requestRoutesPowerSubsystem()
94 .privileges(redfish::privileges::getPowerSubsystem) in requestRoutesPowerSubsystem()
H A Dthermal_subsystem.hpp97 .privileges(redfish::privileges::headThermalSubsystem) in requestRoutesThermalSubsystem()
102 .privileges(redfish::privileges::getThermalSubsystem) in requestRoutesThermalSubsystem()
H A Devent_service.hpp55 .privileges(redfish::privileges::getEventService) in requestRoutesEventService()
110 .privileges(redfish::privileges::patchEventService) in requestRoutesEventService()
179 .privileges(redfish::privileges::postEventService) in requestRoutesSubmitTestEvent()
233 .privileges(redfish::privileges::getEventDestinationCollection) in requestRoutesEventDestinationCollection()
275 .privileges(redfish::privileges::postEventDestinationCollection) in requestRoutesEventDestinationCollection()
660 .privileges(redfish::privileges::getEventDestination) in requestRoutesEventDestination()
730 .privileges({{"ConfigureManager"}}) in requestRoutesEventDestination()
815 .privileges({{"ConfigureManager"}}) in requestRoutesEventDestination()
H A Dservice_root.hpp133 .privileges(redfish::privileges::headServiceRoot) in requestRoutesServiceRoot()
137 .privileges(redfish::privileges::getServiceRoot) in requestRoutesServiceRoot()
H A Dsystems_logservices_hostlogger.hpp225 .privileges(redfish::privileges::getLogService) in requestRoutesSystemsLogServiceHostlogger()
230 .privileges(redfish::privileges::getLogEntryCollection) in requestRoutesSystemsLogServiceHostlogger()
236 .privileges(redfish::privileges::getLogEntry) in requestRoutesSystemsLogServiceHostlogger()
H A Droles.hpp83 .privileges(redfish::privileges::getRole) in requestRoutesRoles()
120 .privileges(redfish::privileges::getRoleCollection) in requestRoutesRoleCollection()
H A Dmetric_report.hpp64 .privileges(redfish::privileges::getMetricReportCollection) in requestRoutesMetricReportCollection()
92 .privileges(redfish::privileges::getMetricReport) in requestRoutesMetricReport()
H A Dmessage_registries.hpp71 .privileges(redfish::privileges::getMessageRegistryFileCollection) in requestRoutesMessageRegistryFileCollection()
151 .privileges(redfish::privileges::getMessageRegistryFile) in requestRoutesMessageRegistryFile()
266 .privileges(redfish::privileges::getMessageRegistryFile) in requestRoutesMessageRegistry()
H A Dfabric_adapters.hpp414 .privileges(redfish::privileges::getFabricAdapterCollection) in requestRoutesFabricAdapterCollection()
419 .privileges(redfish::privileges::headFabricAdapterCollection) in requestRoutesFabricAdapterCollection()
427 .privileges(redfish::privileges::getFabricAdapter) in requestRoutesFabricAdapters()
432 .privileges(redfish::privileges::headFabricAdapter) in requestRoutesFabricAdapters()
H A Dcable.hpp139 .privileges(redfish::privileges::getCable) in requestRoutesCable()
205 .privileges(redfish::privileges::getCableCollection) in requestRoutesCableCollection()
H A Dstorage.hpp97 .privileges(redfish::privileges::getStorageCollection) in requestRoutesStorageCollection()
101 .privileges(redfish::privileges::getStorageCollection) in requestRoutesStorageCollection()
280 .privileges(redfish::privileges::getStorage) in requestRoutesStorage()
285 .privileges(redfish::privileges::getStorage) in requestRoutesStorage()
727 .privileges(redfish::privileges::getDrive) in requestRoutesDrive()
832 .privileges(redfish::privileges::getDriveCollection) in requestRoutesChassisDrive()
973 .privileges(redfish::privileges::getChassis) in requestRoutesChassisDriveName()
1208 .privileges(redfish::privileges::getStorageControllerCollection) in requestRoutesStorageControllerCollection()
1216 .privileges(redfish::privileges::getStorageController) in requestRoutesStorageController()
H A Dsystems_logservices_postcodes.hpp582 .privileges(redfish::privileges::getLogService) in requestRoutesSystemsLogServicesPostCode()
591 .privileges({{"ConfigureComponents"}}) in requestRoutesSystemsLogServicesPostCode()
597 .privileges(redfish::privileges::getLogEntryCollection) in requestRoutesSystemsLogServicesPostCode()
603 .privileges(redfish::privileges::getLogEntry) in requestRoutesSystemsLogServicesPostCode()
610 .privileges(redfish::privileges::getLogEntry) in requestRoutesSystemsLogServicesPostCode()
H A Dfan.hpp153 .privileges(redfish::privileges::headFanCollection) in requestRoutesFanCollection()
158 .privileges(redfish::privileges::getFanCollection) in requestRoutesFanCollection()
442 .privileges(redfish::privileges::headFan) in requestRoutesFan()
447 .privileges(redfish::privileges::getFan) in requestRoutesFan()
/openbmc/docs/designs/
H A Dredfish-authorization.md32 type. It is used to determine whether the identity privileges of an
133 1. the set of Phosphor-user-manager privileges
165 existing Redfish privileges without recompile
172 - It rejects modification of non-OEM privileges
176 assigned such privileges
211 hardcoded table to map Redfish role to Redfish privileges.
215 privileges: secondary group can't represent associations.
254 privileges "ConfigureSelf" and "OemPrivPower".
299 privileges: `Login`, `ConfigureSelf`, `OemPrivPower`.
313 privileges; under the hood, it stores privileges as Linux groups, as today
[all …]
/openbmc/bmcweb/scripts/
H A Dparse_registries.py149 privileges = privilege_json["Privilege"]
151 for privilege in privileges:
169 privileges = privilege_json["Privilege"]
170 names.append("And".join(privileges))

12345678