HewlettPackard / oneview-redfish-toolkit

HPE OneView Redfish Toolkit provides a REST service to answer DMTF's Redfish compliant requests by querying HPE OneView
Apache License 2.0
18 stars 21 forks source link

User profile levels #204

Open ricardoas opened 6 years ago

ricardoas commented 6 years ago

Can Redfish users have different profile levels (admin, users)? Check Redfish specification and schema.

llvieira commented 6 years ago

Clients can enable reception of events by creating a subscription entry in the Event Service, or an administrator can create subscriptions as part of the Redfish Service configuration. All subscriptions are persistent configuration settings.

The Redfish Service requires a client or administrator to create subscriptions to receive events.

To unsubscribe from the messages associated with this subscription, the client or administrator simply sends an HTTP DELETE request to the subscription resource URI.

Taking a look at the spec, Redfish users seems to have different profile levels. However, they also looks like to have the same privileges related to subscription managment.

ricardoas commented 6 years ago

I think that a role mechanism could be implemented (mapped from OneView) using Role and ManagerAccount.