Commit graph

479 commits

Author SHA1 Message Date
Toni Uebernickel
bb9dfbef42 add WipeDataLoader 2012-02-18 02:34:34 +01:00
William DURAND
2be58a2cb9 Added more methods to log in order to use the Stopwatch feature 2012-02-14 12:10:12 +01:00
William DURAND
11dd106524 Mentioned ACL in supported features 2012-02-10 16:23:11 +01:00
William DURAND
4f0ccd5eb7 Merge pull request #100 from havvg/feature/acl-provider-master
[Security] AclProvider
2012-02-10 07:16:48 -08:00
William DURAND
b019559de8 Merge branch '2.0' 0.3 2012-02-10 16:06:49 +01:00
William DURAND
0dc2bd7e78 Merge pull request #104 from havvg/feature/syntax-extension
some love for the SyntaxExtension
2012-02-10 06:24:10 -08:00
Toni Uebernickel
034eb3703f add more highlights to SyntaxExtension
* add more keywords to highlight
* add highlight on query comments
* add highlight on table names
2012-02-09 15:55:27 +01:00
Toni Uebernickel
b7fa0dccd2 fix AclTestCase to read moved acl_schema.xml 2012-02-07 17:27:01 +01:00
Toni Uebernickel
4e45bab585 add InitAclCommand
* move acl_schema.xml into Resources to avoid being retrieved by default
* re-factor parent tasks methods to use separated methods for re-usage
2012-02-07 17:27:00 +01:00
Toni Uebernickel
2741576ee0 add documentation on the ACL implementation 2012-02-07 17:27:00 +01: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
babf3bf203 fix ObjectIdentity insert with assigned parent 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
Toni Uebernickel
03282b46b8 re-factored tests for ACL related models 2012-02-07 17:25:34 +01:00
Toni Uebernickel
78424c5519 add tests for ACL related models 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
33acc67b63 fix several use cases in updateAncestorsTree 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
4758d7bfb4 cascade update of parent object identity id 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
0fa42f794b fix EntryQuery to find class based entries 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
Toni Uebernickel
f6edbe3e7b add model for access control list
The schema is compatible with the distributed schema of the Security component.
2012-02-07 17:25:33 +01:00
William DURAND
33fbd28b39 Merge pull request #102 from K-Phoen/fix-fixtures-ordering
Fix fixtures ordering
2012-02-07 08:16:17 -08:00
Kévin Gomez Pinto
db8ed4da4c Fix: fixtures ordering was not handled by the FixturesLoad command 2012-02-07 16:15:54 +01:00
William DURAND
98bef28210 Merge pull request #101 from havvg/master
sync README files and fix schema inheritance part
2012-02-06 14:03:14 -08:00
Toni Uebernickel
51500cdba9 synchronize README files 2012-02-06 18:25:19 +01:00
William DURAND
89adb254af Merge pull request #99 from francisbesset/2.0
[2.0] Fixed bug in CLI environment
2012-01-23 00:55:34 -08:00
Francis Besset
31c4b8699e Fixed bug if the cache is built out of CLI 2012-01-23 09:33:10 +01:00
William DURAND
71ccc1bc80 Merge pull request #97 from havvg/2.0
fix distributed testing environment
2012-01-13 07:54:12 -08:00
Toni Uebernickel
9618a04e23 fix distributed testing environment 2012-01-12 17:42:34 +01:00
William DURAND
cf645a4941 Fixed exception due to recent Symfony2 changes
See 789d5ad20f
2012-01-12 16:55:22 +01:00
William DURAND
059a141b45 Merge branch '2.0' 2012-01-02 17:32:32 +01:00
William DURAND
654ba24db2 Removed useless text in the WDT 2012-01-02 17:31:00 +01:00
William DURAND
d12c092fb5 Use the new Filesystem component 2011-12-25 14:21:54 +01:00
William DURAND
3c1a87d432 Merge branch '2.0' 2011-12-25 14:18:30 +01:00