Fabien Potencier
851eb73778
removed unused use statements
2011-10-29 11:56:30 +02:00
Helmer Aaviksoo
c4226bb6dc
Removed redundant "@return void"-s
2011-10-07 11:15:35 +03:00
Fabien Potencier
5d4b8a7c88
merged branch aboks/acl_voter (PR #1954 )
...
Commits
-------
09c41d3
[Security] Fixed incorrect merge of two modifications (53f5c23c
and 85199677
) to AclVoter
Discussion
----------
[Security] Fixed incorrect merge of two modifications to AclVoter
It seems two modifications to `AclVoter` (53f5c23c
and 85199677
) have been merged incorrectly, leading to a method call on an object that is known to be `null` and a fatal error when running the tests
2011-08-14 10:54:09 +02:00
Fabien Potencier
283097db09
Revert "expanded namespaces within phpdoc (special for PhpStorm)"
...
This reverts commit 6e7439e73a
.
2011-08-13 19:27:36 +02:00
Arnout Boks
09c41d32ca
[Security] Fixed incorrect merge of two modifications ( 53f5c23c
and 85199677
) to AclVoter
2011-08-13 12:46:41 +02:00
realmfoo
6e7439e73a
expanded namespaces within phpdoc (special for PhpStorm)
2011-08-10 11:16:31 +04:00
realmfoo
f0a6ee5a4d
merge from master
2011-08-10 10:59:19 +04:00
Geoffrey Tran
b9bdab8bd4
DoctrineAclCache unserialize sets the acl to the wrong field
...
Upon unserialize of the acl, the acl is currently set to the id field which should be a string. Currently it passes the acl object into the id field which causes the following error.
Warning: Illegal offset type in isset or empty in Symfony/Component/Security/Acl/Dbal/AclProvider.php line 404
2011-07-15 12:41:15 -05:00
Fabien Potencier
d80ee41130
Revert "merged branch yktd26/master (PR #1673 )"
...
This reverts commit af70ac8d77
, reversing
changes made to c881379fe7
.
2011-07-13 12:21:56 +02:00
yktd26
26ff05b333
fixes #1538
2011-07-13 10:28:34 +02:00
Fabien Potencier
f57e1d3e10
fixed CS
2011-06-23 14:07:53 +02:00
Fabien Potencier
a232c148eb
fixed CS
2011-06-14 12:54:32 +02:00
Fabien Potencier
1aabc5da64
fixed CS
2011-06-08 12:16:48 +02:00
Fabien Potencier
65200aa86a
added missing license headers
2011-05-31 10:57:06 +02:00
Johannes M. Schmitt
971ff8175f
[Security] fixes a possible bug when username is an integer
2011-05-30 14:09:16 +02:00
Johannes M. Schmitt
bac3ee86f9
[Security] fixes a regression in the AclVoter
2011-05-30 10:04:46 +02:00
Johannes M. Schmitt
8837ce0e57
Merge branch 'master' of http://github.com/symfony/symfony into security
2011-05-30 10:00:07 +02:00
Pascal Borreli
824e48efa7
[Various] Fixed phpdoc
2011-05-29 23:33:36 +00:00
Johannes Schmitt
edbf4ea691
Merge branch 'security' of github.com:schmittjoh/symfony into security
2011-05-28 17:09:32 +02:00
Johannes Schmitt
f37386e336
Merge branch 'master' of git://github.com/symfony/symfony into security
2011-05-28 17:07:16 +02:00
Thomas Rabaix
be2c427053
change self to static so the parent class can have access to the child constant
2011-05-24 18:25:28 +02:00
Johannes M. Schmitt
decac13331
added a few finals
2011-05-24 15:08:22 +02:00
Johannes Schmitt
53f5c23c8f
[Security/Acl] small voter refactoring
2011-05-18 12:48:50 +02:00
realmfoo
8519967796
Calling supportsClass from vote to find out if we can vote
2011-05-16 11:03:06 +04:00
Johannes Schmitt
48dc85dc43
[Security/Acl] fixes #853
2011-05-14 14:19:55 +02:00
Matthieu Vachon
0da289cfbc
[Security\Acl] Fixed hardcoded table names
...
* Replaced hardcoded table names by acl configuration options
2011-05-07 20:56:22 -04:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Johannes Schmitt
f697fe3b26
[Security/Acl] some misc fixes
2011-04-20 22:35:17 +02:00
Johannes Schmitt
4d6e239f10
[Security/Acl] removed Doctrine dependency from interfaces and moved them to the actual implementation
2011-04-20 22:25:05 +02:00
Tim Nagel
ad86f9ff0d
[Security] Added missing phpdoc
2011-04-16 16:21:04 +10:00
Gustavo Adrian
2e96f2c63d
Fixed exception that was thrown while updating a field ACE
2011-04-05 13:05:20 -03:00
Johannes Schmitt
031bf35bb1
changed condition nesting
2011-03-26 09:06:03 +01:00
Gustavo Adrian
bedbe51081
[Security] ACL: AclVoter::vote only gets an ObjectIdentity if $object is not an instance of ObjectIdentityInterface
2011-03-24 21:54:21 -03:00
Johannes M. Schmitt
eb0d772743
[Security/Acl] removed remaining LIMIT clauses
2011-03-21 11:39:05 +01:00
Johannes M. Schmitt
a64cc0e3cc
[Security] some more visibility changes
2011-03-10 10:25:33 +01:00
Johannes Schmitt
1d5538fc60
[Security] various changes, see below
...
- visibility changes from protected to private
- AccountInterface -> UserInterface
- SecurityContext::vote() -> SecurityContext::isGranted()
2011-03-10 10:25:32 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Johannes Schmitt
0eb4f49061
Merge branch 'fix-acl-schema-generator' of https://github.com/lewinski/symfony into lewinski-fix-acl-schema-generator
2011-03-05 13:54:10 +01:00
Pascal Borreli
843d5a8399
[Security] Fixed Typo
2011-03-01 18:58:08 +01:00
Matthew Lewinski
cde5f528c2
Fix the Acl schema generator script.
...
Change 3e818846 in doctrine/dbal introduced a number of new classes in
the Doctrine\DBAL\Platforms\Keywords namespace, so we need to be more
careful here when generating Acl schema, so as to only load Platform
classes and not any others in the same directory.
2011-02-27 16:56:47 -06:00
Fabien Potencier
cdf6851eb3
fixed merge
2011-02-27 21:16:13 +01:00
Christophe Coevoet
92bfbf575c
Fixed CS
2011-02-27 20:56:29 +01:00
Pascal Borreli
787812d968
[Security] Removed useless else
2011-02-27 18:36:38 +01:00
Pascal Borreli
2fbb8e07f8
[Security] Fixed typo
2011-02-26 20:02:06 +01:00
Johannes Schmitt
82c6844147
[Security] moved Security classes out of DoctrineBundle, cleaned-up SecurityExtension accordingly
...
Note that this commit removes the built-in support for MongoDB user providers.
This code can be moved back in once there is a stable release for MongoDB, but
for now you have to set-up that user provider just like you would set-up any
custom user provider:
security:
providers:
document_provider:
id: my.mongo.provider
2011-02-16 23:00:27 +01:00
Johannes M. Schmitt
d22743cf3a
[Security] removed defaults from boolean columns
2011-02-16 23:00:27 +01:00
Victor Berchet
1d7f8120e0
Update code with latest Finder changes
2011-02-16 22:53:11 +01:00
Johannes M. Schmitt
b9f4eab5c2
[Security/Acl] added pre-generated schemas
2011-02-14 20:55:06 +01:00
Johannes Schmitt
9749da6e52
[Security] performance improvements of PermissionGrantingStrategy
2011-02-12 21:53:04 +01:00
Lukas Kahwe Smith
dd71501f54
some fixes by just "blindly" trying to make phpStorm code analysis happier
2011-02-04 19:30:28 +01:00
Johannes M. Schmitt
cf64d2cfe7
namespace changes
...
Symfony\Component\Security -> Symfony\Component\Security\Core
Symfony\Component\Security\Acl remains unchanged
Symfony\Component\HttpKernel\Security -> Symfony\Component\Security\Http
2011-01-26 22:23:20 +01:00
Johannes Schmitt
57ae50e894
[Security] many improvements, and fixes
2011-01-26 16:38:54 +01:00
Lukas Kahwe Smith
ddea635a51
fixes else -> } else
2011-01-19 07:20:23 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Johannes M. Schmitt
0449dbdc5d
added extra exception if only a partial result is found
2011-01-05 22:51:05 +01:00
Johannes M. Schmitt
55a48bcfa6
optimized AclVoter, added unit test
2011-01-03 07:46:16 +01:00
Johannes M. Schmitt
a99d8c8558
fix possible duplicate security identities
2011-01-02 10:53:54 +01:00
Johannes Schmitt
b4288459cc
added ACL system to the Security Component
2010-12-31 09:25:53 +01:00