mirror of https://github.com/apache/archiva.git
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:
parent
cc1180e914
commit
bf694ebfed
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue