Browse Source

updated docs

Roel Sint 13 years ago
parent
commit
70ef8ad30b
1 changed files with 14 additions and 0 deletions
  1. 14 0
      Resources/doc/reference/security.rst

+ 14 - 0
Resources/doc/reference/security.rst

@@ -0,0 +1,14 @@
+Security
+========
+
+See the security part in the documentation of the Admin bundle. When using ACL, the object ACL's need to be created
+to have the ACL implementation working correctly. Otherwise access can be denied because the access rules are not found
+for an object.
+
+If you have Admin classes, you can generate the object ACL rules for each object of an admin:
+
+.. code-block:: sh
+
+    $ php app/console sonata:admin:generate-object-acl
+
+Optionally, you can specify an object owner, this will be asked when the command is run.