Filter out sensitive hosts for non admin users
Sensitive hosts shall not be returned in search and get queries (both web and API) for non admin users JIRA INFRA-1671
Showing
- app/api/network.py 20 additions, 15 deletionsapp/api/network.py
- app/api/utils.py 14 additions, 8 deletionsapp/api/utils.py
- app/models.py 6 additions, 1 deletionapp/models.py
- app/network/views.py 6 additions, 1 deletionapp/network/views.py
- app/search.py 1 addition, 0 deletionsapp/search.py
- app/utils.py 22 additions, 9 deletionsapp/utils.py
- tests/functional/test_api.py 177 additions, 20 deletionstests/functional/test_api.py
- tests/functional/test_web.py 42 additions, 0 deletionstests/functional/test_web.py
Loading
Please register or sign in to comment