Package com.morpheusdata.core
Interface MorpheusPermissionService
-
public interface MorpheusPermissionService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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)
-
-
-
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 searchresourceType
- the ResourceTypesiteId
- (Optional)planId
- (Optional)- Returns:
- list of ids
-
-