ziiko10
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.
@soyuka Any other solution ?
@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 ?
Ok thank you guys
@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.
Any solution ?
Hi @soyuka thank you for response, why i should avoid inheritance ? For the errors i have all the validation errors of all properties.