We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 732b58c commit ea7a857Copy full SHA for ea7a857
security/access_control.rst
@@ -160,6 +160,13 @@ options:
160
can learn how to use your custom attributes by reading
161
:ref:`security/custom-voter`.
162
163
+.. caution::
164
+
165
+ If you define both ``roles`` and ``allow_if``, and your Access Decision
166
+ Strategy is the default one (``affirmative``), then the user will be granted
167
+ access if there's at least one valid condition. See :doc:`/security/voters`
168
+ to change your strategy to something more suited to your needs.
169
170
.. tip::
171
172
If access is denied, the system will try to authenticate the user if not
0 commit comments