From 263c274774098fa2a32a98eeea1dcbe4dc2708f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 8 Jun 2017 11:34:53 +0200 Subject: [PATCH] Allow indexing of flamenco-user role. Role handling should be refactored so that extensions can also declare roles, and whether they should be pushed to Algolia or not. --- pillar/api/utils/algolia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/api/utils/algolia.py b/pillar/api/utils/algolia.py index d39efff3..a8007496 100644 --- a/pillar/api/utils/algolia.py +++ b/pillar/api/utils/algolia.py @@ -8,7 +8,7 @@ from . import skip_when_testing log = logging.getLogger(__name__) -INDEX_ALLOWED_USER_ROLES = {'admin', 'subscriber', 'demo'} +INDEX_ALLOWED_USER_ROLES = {'admin', 'subscriber', 'demo', 'flamenco-user'} INDEX_ALLOWED_NODE_TYPES = {'asset', 'texture', 'group', 'hdri'}