added team permissions on user queries (#1815)
This commit is contained in:
@@ -13,16 +13,11 @@ use App\Entity\Role;
|
||||
use Doctrine\ORM\EntityRepository;
|
||||
use Doctrine\ORM\ORMException;
|
||||
|
||||
/**
|
||||
* @method Role[] findAll()
|
||||
*/
|
||||
class RoleRepository extends EntityRepository
|
||||
{
|
||||
/**
|
||||
* @return Role[]
|
||||
*/
|
||||
public function findAll()
|
||||
{
|
||||
return parent::findAll();
|
||||
}
|
||||
|
||||
public function saveRole(Role $role)
|
||||
{
|
||||
$entityManager = $this->getEntityManager();
|
||||
|
||||
Reference in New Issue
Block a user