fix Sonar violation
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1496795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b59d828ddc
commit
3e2ec99b99
@ -132,11 +132,11 @@ private void removeTemplatedRole( RedbackRoleModel model, ModelTemplate template
|
||||
// check if we want to remove the resources
|
||||
Resource rbacResource = rbacManager.getResource( resource );
|
||||
|
||||
if ( !rbacResource.isPermanent() )
|
||||
{
|
||||
//if ( !rbacResource.isPermanent() )
|
||||
//{
|
||||
//todo we need a better way of finding if a resource is unused anymore...probably a cleaning process in the db or something
|
||||
//rbacManager.removeResource( rbacResource );
|
||||
}
|
||||
//}
|
||||
|
||||
// todo find dangling child role references and smoke
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user