From aaa4f677bd5f5a77f3204c3d1212dea261b65e71 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Sun, 30 Jul 2023 11:18:03 -0400 Subject: [PATCH] Introduce the DEFAULT_PERMISSIONS config parameter --- docs/configuration/security.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/configuration/security.md b/docs/configuration/security.md index a6dc4c5ce..5ce7fbad2 100644 --- a/docs/configuration/security.md +++ b/docs/configuration/security.md @@ -105,9 +105,7 @@ Default: } ``` -This parameter defines object permissions that are applied automatically to _any_ authenticated user, regardless of what permissions have been defined in the database. By default, this parameter is defined to allow all users to manage their own API tokens, however it can be overriden for any purpose. - -For example, to allow all users to create a device role beginning with the word "temp," you could configure the following: +This parameter defines object permissions that are applied automatically to _any_ authenticated user, regardless of what permissions have been defined in the database. By default, this parameter is defined to allow all users to manage their own API tokens, however it can be overriden for any purpose. For example, to allow all users to create a device role beginning with the word "temp," you could configure the following: ```python DEFAULT_PERMISSIONS = {