diff options
author | Brett Porter <brett@apache.org> | 2006-12-11 06:52:00 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2006-12-11 06:52:00 +0000 |
commit | eb278b5812b467b4da101e1583d5b661d8eb235c (patch) | |
tree | 61a5a4ea1545fb05572f79af9da504e6c4aa0f84 | |
parent | 0c91515a8f1241a1977f39ad9a1ba7f8c25ccc5d (diff) | |
download | archiva-eb278b5812b467b4da101e1583d5b661d8eb235c.tar.gz archiva-eb278b5812b467b4da101e1583d5b661d8eb235c.zip |
note why it is how it is
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@485532 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaSystemAdministratorRoleProfile.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaSystemAdministratorRoleProfile.java b/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaSystemAdministratorRoleProfile.java index facb4dfad..6470f26d3 100644 --- a/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaSystemAdministratorRoleProfile.java +++ b/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaSystemAdministratorRoleProfile.java @@ -45,6 +45,8 @@ public class ArchivaSystemAdministratorRoleProfile operations.add( ArchivaRoleConstants.OPERATION_ADD_REPOSITORY ); operations.add( ArchivaRoleConstants.OPERATION_EDIT_REPOSITORY ); operations.add( ArchivaRoleConstants.OPERATION_DELETE_REPOSITORY ); + // we don't add access/upload repository operations. This isn't a sys-admin function, and we don't want to + // encourage the use of the sys admin role for such operations. They can grant it as necessary. return operations; } |