diff options
| author | Hunternif <hunternif@gmail.com> | 2025-02-16 19:03:18 +0000 |
|---|---|---|
| committer | Hunternif <hunternif@gmail.com> | 2025-02-16 19:03:18 +0000 |
| commit | 399c6a9b78b31469a8f2fe7c6f50f1fda0027472 (patch) | |
| tree | 97a9d725a7b258d9a23d58af6c6ea3da0f8d3a3a /server/szurubooru/tests/search/test_executor.py | |
| parent | db76edf3c439ea4a16c958243c9d4cbe40d86f6b (diff) | |
server: add privilege to view & list "sketchy" posts
Diffstat (limited to 'server/szurubooru/tests/search/test_executor.py')
| -rw-r--r-- | server/szurubooru/tests/search/test_executor.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/szurubooru/tests/search/test_executor.py b/server/szurubooru/tests/search/test_executor.py index 5c52f72..21817c1 100644 --- a/server/szurubooru/tests/search/test_executor.py +++ b/server/szurubooru/tests/search/test_executor.py @@ -10,7 +10,10 @@ from szurubooru.func import cache def inject_config(config_injector): config_injector( { - "privileges": {"posts:list:unsafe": model.User.RANK_REGULAR}, + "privileges": { + "posts:list:sketchy": model.User.RANK_REGULAR, + "posts:list:unsafe": model.User.RANK_REGULAR, + }, } ) |