I recently posted an issue that may be related to this.
When your using any of the doctrine tools that use the schema tool any
custom types will fail.
There isn't a call to registerDoctrineTypeMapping. So the type gets
registered with the orm but not with the dbal.
I changed the
When you say master, are you pulling from git? If you are using the
download, and copying in beware they vendors script is now vendors.php.
I had an Annotation error and didn't realise that I had run the wrong vendor
script.
--
If you want to report a vulnerability issue on symfony,
I originally had the same issue, I was trying to figure out how to retrieve
the user or objects linked using the acl.
It can be done, messily, but after some quiet contemplation and some posting
back and forth on here I determined not
to do it.
So I decided to try to only use the ACL when I
There is a class scope. So the create would apply to that.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send
I think you could filter the available pool of widgets/logs when you select.
At the user level, where they can edit their logs, they would be owner of
the entity in the acl.
Any higher role bypasses the ownership check, or you could assign a user
with these roles a
class-scope permission.
I am thinking that this is from the assetic bundle which uses yui
compressor.
You could probably disable assetic, or change your open_basedir setting.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
ya since in either case, the beta1 or beta2 it is just a string.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group,
I would have to point out that the available security system in Symfony 2 is
really robust.
Myself after looking through the available UserBundle then reviewing the
security documentation
implemented a system to register, authenticate and assign roles pretty
quickly.
--
If you want to
you can get an entity manager for a different defined entity by name
$em = $this-get('doctrine')-getEntityManager('ppuerp');
see.
http://symfony.com/doc/current/book/doctrine/orm.html#multiple-entity-managers
--
If you want to report a vulnerability issue on symfony, please send it to
Sorry my bad I missed the version you were using.
$em = $this-get('doctrine.orm.ppuerp_entity_manager');
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups
Hi,
Enjoying the new form classes. I was wondering if there was an ETA on
Creating Custom Field Types cookbook?
I created a class using the countrytype as a template, but I am wondering
how to inform symfony it exists?
Thanks
--
If you want to report a vulnerability issue on symfony,
Sorry for the late reply but what does using sphinx have to do with
doctrine?
Sphinx always returns document id's which if you want the related
information you have to retrieve it
from the db.
--
If you want to report a vulnerability issue on symfony, please send it to
security at
I would think that would work, and ironically the same logic could be used
to do exactly what I wanted to do. I would consider reversing the logic
though, and adding a block permission. That way it is exclusionary and
lighter.
The only advantage I can see to having a separate relationship at
@johannes: It is simple enough I have a record that can be related to one
or more users who have X permissions. Since I am planning on using the ACL
I was hoping to avoid creating a second redundant link between the record
and the users.
I think however for the time being I will take the
I am guessing there is no easy solution?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to
Ok so if you hand fine object permissions over the ACL (which is quite well
done).
I understand the process by which one can add permissions, check
permissions.
How does one retrieve the user's objects (i.e. get all the users comments)?
Another example would be in a sales environment where
Thanks worked a treat :-)
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email to
Ok so the scenario is pretty simple, I want to create some dummy users using
fixtures, I need to encode their passwords.
How do I get the service container in the fixture class so I can get the
encoder factory?
--
If you want to report a vulnerability issue on symfony, please send it to
Using doctrine:schema:create I get the following error.
Class Vendor\LeadBundle\Entity\Lead is not a valid entity or mapped
super class.
users entity annotation in src/Vendor/UserBundle/Entity/User.php
namespace Vendor\UserBundle\Entity;
use Vendor\LeadBundle\Entity\Lead;
use
Forgot to include bundle in entity mappings.
orm
entity_managers:
mappings:
UserBundle: {type: annotation, dir: Entity/ }
LeadBundle: {type: annotation, dir: Entity/ }
--
If you want to report a vulnerability issue on symfony, please send it to
security at
20 matches
Mail list logo