mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
searx: Preserve public_access setting
- Preserve the setting during enable/disable as well as during backup/restore. - Show setting as disabled when application is disabled but restore user's original preference value on enable. - Add functional test for this. Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
2d85b61199
commit
7e1e5182cc
8 files changed
+46
-14
No files matched your search
@@ -53,3 +53,12 @@ Scenario: Disable public access
|
||||
Then searx app should not be visible on the front page
|
||||
And the searx site should not be available
|
||||
|
||||
Scenario: Preserve public access setting
|
||||
Given the searx application is enabled
|
||||
And I enable public access in searx
|
||||
When I disable the searx application
|
||||
And I enable the searx application
|
||||
And I log out
|
||||
Then searx app should be visible on the front page
|
||||
And the searx site should be available
|
||||
|
||||
Reference in new issue
Block a user