-
Type:
Bug
-
Status: Open
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Search
-
Labels:None
-
Severity:Medium
Due to the fix in RTFACT-12512, Anonymous searches are intentionally limited in order to prevent large queries from draining system resources.
An Artifactory System Property was created to disable this restriction. However, enabling or disabling the property does not change the limits placed on the Anonymous user.
Steps to reproduce:
- Set the following tags in your $ART_HOME/etc/artifactory.system.properties
artifactory.search.limitAnonymousUsersOnly=false
artifactory.search.userQueryLimit=2 - Restart Artifactory
- Run a GAVC search against a repository with at least 3 file coordinates anonymously:
curl -vvv "http://localhost:8081/artifactory/api/search/gavc?g=jfrog&repos=libs-snapshot-local"
- Observe that only 2 results are returned when the request is ran anonymously.
Setting the value to "true" produces the same results, indicating the setting is not being used. The only setting that affects anonymous searches is the artifactory.search.userQueryLimit argument.