RackHD/on-http

View on GitHub
data/views/redfish-1.0/redfish.1.0.0.role.1.0.0.json

Summary

Maintainability
Test Coverage
{
  "@odata.context" : "<%= basepath %>/$metadata#Role.Role",
  "@odata.type": "#Role.v1_0_2.Role",
  "Description": "Display the privileges of <%= identifier  %>",
  "Name": "<%= identifier  %>",
  "OemPrivileges": [],
  "@odata.id": "<%= url %>",
  "Oem": {},
  "Id": "",
  "AssignedPrivileges": [
    <% rolePrivileges.forEach(function(rolePrivilege, i, arr) { %>
  "<%= rolePrivilege %>"

<%= ( arr.length > 0 && i < arr.length-1 ) ? ',': '' %>
<% }); %>
  ],
 "IsPredefined": true
}