Skip to content

Commit fafc213

Browse files
jmikolaweaverryan
authored andcommitted
[acl] Updating language to be more clear about requirements for Doctrine and ACL
1 parent d2e40b3 commit fafc213

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cookbook/security/acl.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ First, we need to configure the connection the ACL system is supposed to use:
6161
6262
.. note::
6363

64-
The ACL system requires either one Doctrine DBAL (usable by default)
65-
or Doctrine ODM connection (usable with `MongoDBAclBundle
66-
<https://github.com/iampersistent/MongoDBAclBundle>`_) to be configured.
67-
However, that does not mean that you have to use Doctrine for
68-
mapping your domain objects. You can use whatever mapper you like for your
69-
objects, be it Doctrine ORM, Mongo ODM, Propel, or raw SQL, the choice is
70-
yours.
64+
The ACL system requires a connection from either Doctrine DBAL (usable by
65+
default) or Doctrine MongoDB (usable with `MongoDBAclBundle`_). However,
66+
that does not mean that you have to use Doctrine ORM or ODM for mapping your
67+
domain objects. You can use whatever mapper you like for your objects, be it
68+
Doctrine ORM, MongoDB ODM, Propel, raw SQL, etc. The choice is yours.
7169

7270
After the connection is configured, we have to import the database structure.
7371
Fortunately, we have a task for this. Simply run the following command:
@@ -218,3 +216,5 @@ added above:
218216
$acl->insertObjectAce($identity, $mask);
219217
220218
The user is now allowed to view, edit, delete, and un-delete objects.
219+
220+
.. _`MongoDBAclBundle`: https://github.com/IamPersistent/MongoDBAclBundle

0 commit comments

Comments
 (0)