You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.organization.management.application/src/main/java/org/wso2/carbon/identity/organization/management/application/OrgApplicationManagerImpl.java
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.organization.management.application/src/main/java/org/wso2/carbon/identity/organization/management/application/model/SharedApplicationOrganizationNode.java
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,13 +33,13 @@ public class SharedApplicationOrganizationNode {
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.organization.management.application/src/main/java/org/wso2/carbon/identity/organization/management/application/model/SharedApplicationOrganizationNodePage.java
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.organization.management.application/src/main/java/org/wso2/carbon/identity/organization/management/application/util/OrgApplicationManagerUtil.java
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,21 @@ public static void setShareWithAllChildrenProperty(ServiceProvider serviceProvid
94
94
}
95
95
}
96
96
97
+
/**
98
+
* Checks whether the application is configured to be shared with all child organizations.
99
+
*
100
+
* @param properties The array of service provider properties.
101
+
* @return true if SHARE_WITH_ALL_CHILDREN property is set to true, false otherwise.
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.organization.resource.sharing.policy.management/src/main/java/org/wso2/carbon/identity/organization/resource/sharing/policy/management/ResourceSharingPolicyHandlerService.java
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -312,4 +312,26 @@ default void deleteResourceSharingPoliciesAndAttributesByOrganizationId(String o
312
312
"deleteResourceSharingPoliciesAndAttributesByOrganizationId method is not implemented in " +
313
313
this.getClass());
314
314
}
315
+
316
+
/**
317
+
* Retrieves a map of resource sharing policies and their associated shared resource attributes
318
+
* for a given initiating organization ID, resource type, and resource ID.
319
+
*
320
+
* @param initiatingOrganizationId The ID of the organization initiating the resource sharing. Must be a valid ID.
321
+
* @param resourceType The type of the resource being shared. Must not be {@code null}.
322
+
* @param resourceId The unique identifier of the resource being shared. Must not be {@code null}.
323
+
* @return A map where:
324
+
* - The key is the {@link ResourceSharingPolicy} applicable to the initiating organization for the given resource.
325
+
* - The value is a list of {@link SharedResourceAttribute} associated with the policy.
326
+
* If no matching policies or attributes are found, an empty map will be returned.
327
+
* @throws ResourceSharingPolicyMgtException If an error occurs while retrieving the resource sharing
Copy file name to clipboardExpand all lines: components/org.wso2.carbon.identity.organization.resource.sharing.policy.management/src/main/java/org/wso2/carbon/identity/organization/resource/sharing/policy/management/ResourceSharingPolicyHandlerServiceImpl.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -268,6 +268,15 @@ public void deleteResourceSharingPoliciesAndAttributesByOrganizationId(String or
0 commit comments