Commit graph

13 commits

Author SHA1 Message Date
William DURAND
6970913db9 Fixed CS 2012-05-24 16:36:46 +02:00
William DURAND
c23c76883d Fixed security layer for Symfony2 2.1 2012-04-20 15:49:28 +02:00
Toni Uebernickel
680da9e977 add handling of AclCacheInterface 2012-02-07 17:25:35 +01:00
Toni Uebernickel
04e7970312 make use of \PropelObjectCollection 2012-02-07 17:25:35 +01:00
Toni Uebernickel
e73bc1098b apply code conventions (static public and phpDoc) 2012-02-07 17:25:35 +01:00
Toni Uebernickel
af1053e149 add AuditableAcl(Provider)
* update provider class to AuditableAclProvider
* change auditing default to be more reasonable, 90% use case: log failures only
* add transformers to Model\Acl\Entry converting from/to Security\Acl\Domain\Entry
* fix MutableAclProvider to use getAcl method instead of creating MutableAcl directly
* re-factor MutableAcl::updateAce and MutableAclProvider::persistAcl to use Entry transformers
2012-02-07 17:25:35 +01:00
Toni Uebernickel
2231df621c add more tests for (Mutable)AclProvider
* fix usage of existing database entries
2012-02-07 17:25:35 +01:00
Toni Uebernickel
bd4b82749c add checks to (Field)EntryTest and EntryQueryTest 2012-02-07 17:25:35 +01:00
Toni Uebernickel
747ce485ae add tests for Acl\Domain\(Mutable)Acl 2012-02-07 17:25:35 +01:00
Toni Uebernickel
c886302624 use assertCount where applicable 2012-02-07 17:25:34 +01:00
Toni Uebernickel
7a12aef44b add tests for Acl\Domain\(Field)Entry
* fix (un)serialize of (Field)Entry
2012-02-07 17:25:34 +01:00
Toni Uebernickel
27daeebfb9 add tests for AclProvider and MutableAclProvider
* re-factor Tests\Model\Acl\TestCase to Tests\AclTestCase sharing between Model\Acl and Security\Acl tests
* fix schema setting auditing flags to true by default
* fix MutableAcl inserting field based ACEs
* fix MutableAclProvider removing class based ACEs if last object identity is being removed
* fix EntryQuery error message if non-object has been provided in list of SecurityIdentity
2012-02-07 17:25:34 +01:00
William DURAND
31ee48bf10 fixed security user reloading when the user has been changed via a form with validation errors 2011-12-14 14:41:36 +01:00