package com.luticate.auth.dataaccess;

import com.luticate.auth.dbo.LuPermissionDbo;
import com.luticate.utils.dataaccess.LuDataAccess;
import com.luticate.utils.business.LuPromise;
import com.luticate.utils.business.LuRequest;
import com.luticate.utils.dbo.LuDataAccessConfigDbo;

/**
 *
 * Created by robin on 11/27/15.
 */
public class LuticatePermissionsDataAccess extends LuDataAccess {

    public static LuPromise<LuPermissionDbo.LuMultiplePermissionDbo> getAllEffectiveMe(LuDataAccessConfigDbo config)
    {
        return LuRequest.get(config, LuPermissionDbo.LuMultiplePermissionDbo.class, "/api/luticate/permissions/effective/me");
    }
}
