|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
User anonymous is not permitted to deploy into 'repo1-cache' ?Hi,
Having the following plugin in our POM <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <version>2.7</version> <=== was "2.5.1" before retrieving it with Artifactory 2.1 fails (although it's available). When I open http://<artifactory>/<virtual-repo>/org/apache/maven/plugins/maven-eclipse-plugin/2.7/maven-eclipse-plugin-2.7.pom in browser I get: java.io.IOException: User anonymous is not permitted to deploy 'org/apache/maven/plugins/maven-eclipse-plugin/2.7/maven-eclipse-plugin-2.7.pom' into 'repo1-cache:org/apache/maven/plugins/maven-eclipse-plugin/2.7/maven-eclipse-plugin-2.7.pom'. org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:331) org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1424) Why is it so ? Is it configurable ? Couldn't find anything about "repo1-cache" in user guide, Artifactory itself or "repo1" repository configuration. Thank you! |
|
|
Re: User anonymous is not permitted to deploy into 'repo1-cache' ?This means you have a 'repo1' remote repository defined and the user 'anonymous' is lacking privileges to populate it. For users to be able to populate caches they must have 'deploy'
permissions on the relevant cache, so that one can create remote
repositories that can only be populated by a restricted group of
people, but read by anyone.
In 2.1 the 'anonymous' user is a fully permission-managed user. You have to make sure that in one of the permission targets (the default bundled one is called 'Any Remote') that includes the cache of the repo1 remote repository ('repo1-cache') you have assigned 'anonymous' with a 'deploy' permission. The automatic upgrade process should have turned this on by default for anonymous, so if it didn't I would appreciate if you could mail me your previous sanitized config so that we can check that the upgrade properly maintains the anonymous user privileges. Thanks, Yoav On Fri, Oct 16, 2009 at 12:02 AM, Evgeny Goldin <evgenyg@...> wrote:
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Artifactory-users mailing list Artifactory-users@... https://lists.sourceforge.net/lists/listinfo/artifactory-users |
|
|
Re: User anonymous is not permitted to deploy into 'repo1-cache' ?I had no any permission targets related to repositories.
After adding one (for all repositories: "any local" + "any remote") and defining permissions so that "anonymous" can deploy to any repository - it all works now. Attached are two set of backup config files: 20091010.130000.ZIP - from v2.0.8 20091017.130000.ZIP - from v2.1
|
| Free embeddable forum powered by Nabble | Forum Help |