diff --git a/classes/Boom/Model/Group.php b/classes/Boom/Model/Group.php
index <HASH>..<HASH> 100644
--- a/classes/Boom/Model/Group.php
+++ b/classes/Boom/Model/Group.php
@@ -177,7 +177,20 @@ class Boom_Model_Group extends ORM
 
 	public function roles($page_id = 0)
 	{
-		
+		// Check that the given page ID is an integer.
+		if ( ! is_int($page_id))
+		{
+			// No it's not, leave us alone.
+			throw new InvalidArgumentException('Argument 1 for '.__CLASS__.'::'.__METHOD__.' must be an integer, '.gettype($page_id).' given');
+		}
+
+		// Run the query and return the results.
+		return DB::select('role_id', 'allowed')
+			->from('group_roles')
+			->where('group_id', '=', $this->id)
+			->where('page_id', '=', $page_id)
+			->execute($this->_db)
+			->as_array('role_id', 'allowed');
 	}
 
 	/**
Completed Model_Group::roles()