fix permission name reference

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@442703 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jesse McConnell 2006-09-12 20:58:26 +00:00
parent cc1180e914
commit bf694ebfed
1 changed files with 2 additions and 2 deletions

View File

@ -278,8 +278,8 @@ public class DefaultRoleManager
getReports.setResource( repoResource );
getReports = manager.savePermission( getReports );
Permission regenReports = manager.createPermission( "Regenerate Reports - " + repositoryName );
regenReports.setOperation( manager.getOperation( "regenerate-reports" ) );
Permission regenReports = manager.createPermission( "generate Reports - " + repositoryName );
regenReports.setOperation( manager.getOperation( "generate-reports" ) );
regenReports.setResource( repoResource );
regenReports = manager.savePermission( regenReports );