package com.inepex.ineFrame.server.auth;

import com.inepex.ineom.shared.dispatch.interfaces.ObjectList;
import com.inepex.ineom.shared.dispatch.interfaces.ObjectManipulation;
import com.inepex.ineom.shared.dispatch.interfaces.RelationList;

public interface AuthRuleProvider {

	public boolean authorize(ObjectList objectList, AuthRuleSet authRuleSet);
	
	public boolean authorize(ObjectManipulation objectManipulation, AuthRuleSet authRuleSet);
	
	public boolean authorize(RelationList relationList, AuthRuleSet authRuleSet);

}

@@ -302,24 +302,37 @@
 n authorize(
+Long userId, 
 ObjectList o
@@ -398,16 +398,29 @@
 thorize(
+Long userId, 
 ObjectMa
@@ -506,16 +506,29 @@
 thorize(
+Long userId, 
 Relation

add userid to AuthRuleProvider methods