summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-security
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-03-19 10:50:02 +0000
committerOlivier Lamy <olamy@apache.org>2012-03-19 10:50:02 +0000
commit3b01da90b56a94ba43cf2b6b20ab32f0e73300e1 (patch)
tree72c62f7fc5702d5bdabca6e5b3280457698f2091 /archiva-modules/archiva-web/archiva-security
parent59e77fb4d6d299de2cfe6a54ef3f810d6f212c96 (diff)
downloadarchiva-3b01da90b56a94ba43cf2b6b20ab32f0e73300e1.tar.gz
archiva-3b01da90b56a94ba43cf2b6b20ab32f0e73300e1.zip
add REST method to know if user able to delete artifact on a repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1302367 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-security')
-rw-r--r--archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/archiva/security/DefaultUserRepositories.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/archiva/security/DefaultUserRepositories.java b/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/archiva/security/DefaultUserRepositories.java
index cfd6da5c8..53dc150d8 100644
--- a/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/archiva/security/DefaultUserRepositories.java
+++ b/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/archiva/security/DefaultUserRepositories.java
@@ -205,7 +205,7 @@ public class DefaultUserRepositories
}
public boolean isAuthorizedToDeleteArtifacts( String principal, String repoId )
- throws AccessDeniedException, ArchivaSecurityException
+ throws ArchivaSecurityException
{
try
{