// (C) Copyright 2020 Hewlett-Packard Enterprise Company, L.P.
/**
 * This provides a list of authorization required for each category.
 * Currently WRITE permission is allowed for Baseline resource.
 * This is required for proper working of Search functionality.
 */
define([], function() { 
    return {
        getAll : function getAll(handlers) {
            handlers.success({members: [
                {categoryDto: 'ENCLOSURE', actionDto: 'WRITE'},
                {categoryDto: 'ENCLOSURE', actionDto: 'ADD'},
				{categoryDto: 'BASELINE', actionDto: 'ADD'},
                {categoryDto: 'BASELINE', actionDto: 'WRITE'},
				{categoryDto: 'SWITCH', actionDto: 'WRITE'},
                {categoryDto: 'SWITCH', actionDto: 'ADD'},
                {categoryDto: 'SERVER', actionDto: 'WRITE'},
                {categoryDto: 'SERVER', actionDto: 'ADD'},
                {categoryDto: 'NODE', actionDto: 'WRITE'},
                {categoryDto: 'NODE', actionDto: 'ADD'},
                {categoryDto: 'GROUP', actionDto: 'WRITE'},
                {categoryDto: 'GROUP', actionDto: 'ADD'},
                {categoryDto: 'ILOFEDERATION',actionDto: 'ADD'},
                {categoryDto: 'ILOFEDERATION',actionDto: 'WRITE'},
                {categoryDto: 'HOST', actionDto: 'WRITE'},
                {categoryDto: 'HOST', actionDto: 'ADD'},
				{categoryDto: 'APPLIANCE', actionDto: 'WRITE'}
              ]});
        }
    };
});
