<?php
class EmCore_Model_GroupItem extends Emerald_Model_AbstractItem implements Emerald_Acl_Role_Interface
{
	private $_users;
	
	public function getRoleId()
	{
		return 'Emerald_Group_' . $this->id;
	}
		
	
	public function autoloadAclRole(Zend_Acl $acl)
	{
		$acl->addRole($this, 'Emerald_Group_' . EmCore_Model_Group::GROUP_ANONYMOUS);
	}
	
	
	public function getUsers()
	{
		if(!$this->_users) {
			$model = new EmCore_Model_Group();
			$this->_users = $model->getUsersIn($this); 			
		}
		return $this->_users;
		
	}
	
	
} 
<?php
class EmCore_Model_GroupItem extends Emerald_Model_AbstractItem implements Emerald_Acl_Role_Interface
{
	private $_users;
	
	public function getRoleId()
	{
		return 'Emerald_Group_' . $this->id;
	}
		
	
	public function autoloadAclRole(Zend_Acl $acl)
	{
		$acl->addRole($this, 'Emerald_Group' . EmCore_Model_Group::GROUP_ANONYMOUS);
	}
	
	
	public function getUsers()
	{
		if(!$this->_users) {
			$model = new EmCore_Model_Group();
			$this->_users = $model->getUsersIn($this); 			
		}
		return $this->_users;
		
	}
	
	
} 
--- 
+++ 
@@ -11,7 +11,7 @@
 	
 	public function autoloadAclRole(Zend_Acl $acl)
 	{
-		$acl->addRole($this, 'Emerald_Group' . EmCore_Model_Group::GROUP_ANONYMOUS);
+		$acl->addRole($this, 'Emerald_Group_' . EmCore_Model_Group::GROUP_ANONYMOUS);
 	}
 	
 	
Fix resource id bug (where it come from, nobody be knowin')

