Commit graph

11 commits

Author SHA1 Message Date
William DURAND
6970913db9 Fixed CS 2012-05-24 16:36:46 +02:00
Toni Uebernickel
1fa29dbdf9 remove object collection from MutableAcl 2012-02-07 17:25:36 +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
747ce485ae add tests for Acl\Domain\(Mutable)Acl 2012-02-07 17:25:35 +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
Toni Uebernickel
4b6001c6fe pass PDO connection to all methods within ACL 2012-02-07 17:25:33 +01:00
Toni Uebernickel
3524cd8a6b add handling of parent ACL
* fix ObjectIdentityQuery::findGrandChildren
2012-02-07 17:25:33 +01:00
Toni Uebernickel
bfaa408df1 fix MutableAcl to handle new object identities 2012-02-07 17:25:33 +01:00
Toni Uebernickel
cabb199646 add MutableAclProvider and MutableAcl 2012-02-07 17:25:33 +01:00