ziiko10

Results comments of ziiko10

Ok thank you, @soyuka waiting for it ...

@mahmoodbazdar Thank you for your response, there is no possibility to work with voters ? Otherwise DQLEXTENSION is a nice alternative, but not the best one.

@dunglas Thank you for your response , so do you think that the best idea is to use DoctrineExtension to manage permissions on Collections ? as @mahmoodbazdar said ?

@teohhanhui But when i specify a new operation with LINK method , i have this error "There is no builtin action for the collection LINK operation. You need to define...

You need to do something like : $rootAlias = $queryBuilder->getRootAliases()[0]; $queryBuilder ->leftJoin(sprintf('%s.members', $rootAlias), 'members')->addSelect('members') ->andWhere(':current_user MEMBER OF members') ->setParameter('current_user', $user);

Hi dear @thomasmoreaumaster , thank you for your response, it is exactly what im doing but i don't know if it is the best solution.

Hi @soyuka thank you for response, why i should avoid inheritance ? For the errors i have all the validation errors of all properties.