Commit graph

32 commits

Author SHA1 Message Date
Toni Uebernickel 4db28b7bbd introduce Propel\Bundle\PropelBundle namespace 2016-01-23 21:41:17 +01:00
Toni Uebernickel 13b34567f5 remove Symfony Security ACL integration
The PropelAclBundle will provide integration of the Symfony Security ACL component.
2016-01-23 19:30:36 +01:00
Toni Uebernickel 38b491aa46 integrate former Symfony Propel1 bridge 2016-01-23 17:27:52 +01:00
Adel 4219e706d4 RUN PHP-CS PSR-2 2012-07-19 17:40:35 +01:00
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 1fa29dbdf9 remove object collection from MutableAcl 2012-02-07 17:25:36 +01:00
Toni Uebernickel 7dde7ce5d1 pass PDO connection to all methods within ACL 2012-02-07 17:25:35 +01: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 747ce485ae add tests for Acl\Domain\(Mutable)Acl 2012-02-07 17:25:35 +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
Toni Uebernickel 15b387a950 change behavior on deleting an ACL
The MutableAclProviderInterface expects to remove all child ACLs upon deletion.

* fix createAcl to check for existing parent
2012-02-07 17:25:34 +01:00
Toni Uebernickel 7b127b2a5c retrieve parentAcl in AclProvider::findAcl
* change default inherited value to true to comply with database default value
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
Toni Uebernickel a0f7c1c170 clear up err message for acl not found in findAcl 2012-02-07 17:25:33 +01:00
Toni Uebernickel 4224dedd9b add immutable AclProvider for read-only ACL access 2012-02-07 17:25:33 +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
William DURAND ab50b5ec39 Fixed CS 2011-12-05 18:42:24 +01:00
William DURAND d7a40ae7f6 Fixed CS 2011-11-06 18:15:34 +01:00
gregoryb 968dfd014f Update Security/User/ModelUserProvider.php to support a proxy class. 2011-11-06 18:04:55 +01:00
William DURAND 58d793e01e Fixes #60 thanks to drjones69 2011-10-10 18:55:59 +03:00
William DURAND 607e149b6f Fixed typo thanks to drjones69 2011-10-09 20:22:22 +03:00
William DURAND b69d894979 Fixed missing exception 2011-10-09 20:12:58 +03:00
William DURAND e35ae76511 [Security] Added a ModelUserProvider. Fixes #35 2011-08-31 09:39:04 +02:00