mirror of https://github.com/apache/archiva.git
authz not mandatory for search: repositories list limited for guest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293870 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bd98d2d274
commit
2538f012b5
|
@ -48,7 +48,7 @@ public interface SearchService
|
||||||
@Path( "quickSearch" )
|
@Path( "quickSearch" )
|
||||||
@GET
|
@GET
|
||||||
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
||||||
@RedbackAuthorization( noPermission = true, noRestriction = false )
|
@RedbackAuthorization( noPermission = true, noRestriction = true )
|
||||||
/**
|
/**
|
||||||
* <b>search will be apply on all repositories the current user has karma</b>
|
* <b>search will be apply on all repositories the current user has karma</b>
|
||||||
*/
|
*/
|
||||||
|
@ -58,7 +58,7 @@ public interface SearchService
|
||||||
@Path( "getArtifactVersions" )
|
@Path( "getArtifactVersions" )
|
||||||
@GET
|
@GET
|
||||||
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
||||||
@RedbackAuthorization( noPermission = true, noRestriction = false )
|
@RedbackAuthorization( noPermission = true, noRestriction = true )
|
||||||
/**
|
/**
|
||||||
* <b>search will be apply on all repositories the current user has karma</b>
|
* <b>search will be apply on all repositories the current user has karma</b>
|
||||||
*/
|
*/
|
||||||
|
@ -70,7 +70,7 @@ public interface SearchService
|
||||||
@Path( "searchArtifacts" )
|
@Path( "searchArtifacts" )
|
||||||
@POST
|
@POST
|
||||||
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
|
||||||
@RedbackAuthorization( noPermission = true, noRestriction = false )
|
@RedbackAuthorization( noPermission = true, noRestriction = true )
|
||||||
/**
|
/**
|
||||||
* If searchRequest contains repositories, the search will be done only on those repositories.
|
* If searchRequest contains repositories, the search will be done only on those repositories.
|
||||||
* <b>if no repositories, the search will be apply on all repositories the current user has karma</b>
|
* <b>if no repositories, the search will be apply on all repositories the current user has karma</b>
|
||||||
|
|
Loading…
Reference in New Issue