Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
calypsomatic committed Oct 30, 2024
1 parent e4f2975 commit 71b8dd5
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,18 +487,6 @@ class ResourceService(
}
} yield policiesToDelete

def cloudSyncPolicies(
policiesList: List[(FullyQualifiedPolicyId, FullyQualifiedPolicyId)],
samRequestContext: SamRequestContext
): IO[List[FullyQualifiedPolicyId]] = {
val policiesToSync: List[FullyQualifiedPolicyId] = policiesList.map { case (firstPolicy, _) => firstPolicy }.toSet.toList
for {
_ <- policiesToSync.traverse { policy =>
cloudExtensions.onGroupUpdate(Seq(policy), Set.empty, samRequestContext)
}
} yield policiesToSync
}

def listUserResourceRoles(resource: FullyQualifiedResourceId, samUser: SamUser, samRequestContext: SamRequestContext): IO[Set[ResourceRoleName]] =
accessPolicyDAO.listUserResourceRoles(resource, samUser.id, samRequestContext)

Expand Down

0 comments on commit 71b8dd5

Please sign in to comment.