AdminRoutesConfig.js revision e26e5073e1266868172d72453c97f413fe2fb603
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2014 ForgeRock AS. All rights reserved.
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*/
/*global define */
], function(commonRoutes) {
var obj = {
"connectorListView" : {
role: "ui-admin",
url: "connectors/"
},
"editConnectorView" : {
role: "ui-admin",
pattern: "connectors/edit/?/?",
forceUpdate: true
},
"addConnectorView" : {
role: "ui-admin",
url: "connectors/add/",
forceUpdate: true
},
"managedListView" : {
role: "ui-admin",
url: "managed/"
},
"editManagedView" : {
role: "ui-admin",
forceUpdate: true
},
"addManagedView" : {
role: "ui-admin",
forceUpdate: true
},
"authenticationView" : {
role: "ui-admin",
url: "authentication/",
forceUpdate: true
},
"settingsView" : {
role: "ui-admin",
url: "settings/",
forceUpdate: true
},
"addMappingView" : {
role: "ui-admin",
forceUpdate: true
},
"autoAddMappingView" : {
role: "ui-admin",
forceUpdate: true
},
"mappingListView" : {
role: "ui-admin",
url: "mapping/",
forceUpdate: true
},
"propertiesView" : {
role: "ui-admin",
url: /^properties\/([^\/]+)\/$/,
pattern: "properties/?/"
},
"behaviorsView" : {
role: "ui-admin",
pattern: "behaviors/?/"
},
"associationView" : {
role: "ui-admin",
url: /^association\/(.+)\/$/,
pattern: "association/?/"
},
"scheduleView" : {
role: "ui-admin",
pattern: "schedule/?/"
},
"adminListSystemObjectView" : {
role: "ui-admin",
pattern: "resource/?/?/?/list/"
},
"adminEditSystemObjectView" : {
role: "ui-admin",
pattern: "resource/?/?/?/edit/?",
forceUpdate: true
},
"adminNewSystemObjectView" : {
role: "ui-admin",
pattern: "resource/?/?/?/add/"
},
"adminListManagedObjectView" : {
role: "ui-admin",
pattern: "resource/?/?/list/"
},
"adminEditManagedObjectView" : {
role: "ui-admin",
pattern: "resource/?/?/edit/?",
forceUpdate: true
},
"adminNewManagedObjectView" : {
role: "ui-admin",
pattern: "resource/?/?/add/"
},
"adminEditRoleEntitlementView" : {
role: "ui-admin",
pattern: "resource/?/?/edit/?/?"
},
"processListView" : {
role: "ui-admin",
},
"taskListView" : {
role: "ui-admin",
},
"taskInstanceView" : {
role: "ui-admin",
pattern: "workflow/taskinstance/?"
},
"processInstanceView" : {
role: "ui-admin",
}
};
return obj;
});