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
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
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
William DURAND
22e79ef973
Merge pull request #92 from docteurklein/fix_unique
...
fix unique validator when checked column is the first of all class fields
2011-12-23 01:58:36 -08:00
Klein Florian
995d655a6d
fix unqiue validator when checked column is the first of all class fields
2011-12-23 10:29:42 +01:00
William DURAND
32423b077e
Added a unit test for the previous commit
2011-12-15 17:00:52 +01:00
William DURAND
c0221a604e
Fixed issue when no dbname provided in the DSN
2011-12-15 16:32:05 +01:00
William DURAND
29053029fb
Merge branch '2.0'
2011-12-14 16:03:06 +01:00
William DURAND
26069a0d71
Fixed test on travis-ci
2011-12-14 16:02:15 +01:00
William DURAND
b644e34738
Fixed typo
2011-12-14 14:57:18 +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
044ebea00f
Fixed version in doc
2011-12-09 11:50:26 +01:00
William DURAND
241b77111f
Fixed version number
2011-12-08 16:54:23 +01:00
William DURAND
be9f2c468c
Merge pull request #86 from alanz/patch-1
...
Include reference to installing via vendor deps. Fixes #85 .
2011-12-07 01:56:47 -08:00
alanz
5a4dbfb018
Include reference to installing via vendor deps. Fixes #85 .
2011-12-07 11:54:52 +02:00
William DURAND
f113d9e476
Merge branch '2.0'
2011-12-05 23:14:35 +01:00
William DURAND
a7ed277e78
Fixed getPackagePrefix() method (fixes a bug on Windows platforms)
2011-12-05 23:12:56 +01:00
William DURAND
b61cff3d19
Merge branch '2.0'
2011-12-05 22:23:19 +01:00
William DURAND
667ca20b80
Fixed AbstractDataLoader class
2011-12-05 22:22:30 +01:00
William DURAND
bacae3feae
Fixed transformToLogicalName() method
...
This fix should solve some bugs on Windows platforms.
2011-12-05 22:22:18 +01:00
William DURAND
600808b2a1
Merge branch '2.0'
2011-12-05 18:43:23 +01:00
William DURAND
ab50b5ec39
Fixed CS
2011-12-05 18:42:24 +01:00
William DURAND
a88ccd2b48
Merged branch 2.0
2011-12-05 18:27:13 +01:00
William DURAND
4f9a41df37
Merge pull request #81 from docteurklein/bundle-inherit
...
use FileLocator to handle bundle's schema inheritance
2011-11-29 07:15:14 -08:00