[solr] indexer app permission is not being acknowledged in HUE(Hue3)
@@ -35,7 +35,7 @@ LOG = logging.getLogger(__name__)
def collections(request, is_redirect=False):
- if not request.user.has_hue_permission(action="access", app='search'):
+ if not request.user.has_hue_permission(action="access", app='indexer'):
raise PopupException(_('Missing permission.'), error_code=403)
return render('collections.mako', request, {
@@ -64,7 +64,7 @@ def topics(request, index=''):
def indexer(request):
- if not request.user.has_hue_permission(action="access", app='search'):
+ if not request.user.has_hue_permission(action="access", app='indexer'):
raise PopupException(_('Missing permission.'), error_code=403)
searcher = SolrClient(request.user)
