This commit is contained in:
eitch 2010-11-01 22:01:44 +00:00
parent 3238c024bf
commit fe1e4b5395
1 changed files with 6 additions and 0 deletions

View File

@ -20,5 +20,11 @@ import ch.eitchnet.privilege.model.internal.Role;
*/
public interface PrivilegePolicy {
/**
* @param role
* @param privilege
* @param restrictable
* @return
*/
public boolean actionAllowed(Role role, Privilege privilege, Restrictable restrictable);
}