Interface MorpheusPermissionService


  • public interface MorpheusPermissionService
    • Method Detail

      • listAccessibleResources

        io.reactivex.Observable<java.lang.Long> listAccessibleResources​(java.lang.Long accountId,
                                                                        Permission.ResourceType resourceType,
                                                                        java.lang.Long siteId,
                                                                        java.lang.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