Interface MorpheusResourcePermissionService

All Superinterfaces:
MorpheusDataQueryService<ResourcePermission>, MorpheusDataService<ResourcePermission,ResourcePermissionIdentity>

public interface MorpheusResourcePermissionService extends MorpheusDataService<ResourcePermission,ResourcePermissionIdentity>
  • Method Details

    • listAccessibleResources

      io.reactivex.rxjava3.core.Observable<Long> listAccessibleResources(Long accountId, ResourcePermission.ResourceType resourceType, Long siteId, Long planId)
      Get a list of ids for which the given accountId and siteId have access to (optionally scoped to siteId)
      Parameters:
      accountId - the account ID to scope the search
      resourceType - the ResourceType
      siteId - (Optional)
      planId - (Optional)
      Returns:
      list of ids