effectiveRoles.js revision 4c612d257b4ff240d2dc04785126f91a54a0c56c
2362N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 0N/A * Copyright (c) 2014 ForgeRock AS. All rights reserved. 0N/A * The contents of this file are subject to the terms 0N/A * of the Common Development and Distribution License 0N/A * (the License). You may not use this file except in 0N/A * compliance with the License. 0N/A * You can obtain a copy of the License at 0N/A * See the License for the specific language governing 0N/A * permission and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL 0N/A * Header Notice in each file and include the License file 0N/A * If applicable, add the following below the CDDL Header, 0N/A * with the fields enclosed by brackets [] replaced by 0N/A * your own identifying information: 0N/A * "Portions Copyrighted [year] [name of copyright owner]" 0N/A * Calculates the effective roles 0N/A// Allow for configuration in virtual attribute config, but default 0N/A// This is the location to expand to dynamic roles, 0N/A// project role script return values can then be added via 0N/A// effectiveRoles = effectiveRoles.concat(dynamicRolesArray);