effectiveAssignments.js revision c96652ffdb237d5167f5a00a771bf3e298bdbb22
4651N/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 2362N/A * If applicable, add the following below the CDDL Header, 2362N/A * with the fields enclosed by brackets [] replaced by 2362N/A * your own identifying information: 0N/A * "Portions Copyrighted [year] [name of copyright owner]" 0N/A * Calculates the effective assignments, based on the effective roles 2078N/A// Allow for configuration in virtual attribute config, but default 0N/A // Only try to retrieve role details for role ids in URL format 0N/A // Shallow merge of attributes operations if some already exist, e.g. "system":{"attributes":["x"]} 0N/A // Include information on where the assignment comes from, to allow easier management and debugging 0N/A // Only merge "attributes" 0N/A logger.
debug(
"Role does not point to a resource, will not try to retrieve assignment details for {}",
roleId);