info.removePermissionInstance(permissionId);
}
}
oldPermissions.removeAll(permToDelete);
for (IPermissionMetaInfo permission : permissions) {
PermissionRole prole = new PermissionRole();
prole.setRole(role);
prole.setPermissionId(permission.getId());
if (!oldPermissions.contains(prole)) {
oldPermissions.add(prole);
for (IRoleInstanceMetaInfo info : instances) {
Set<IAttributeMetaInfo> attributes = permission.getAttributes();
IPermissionInstanceMetaInfo permissionInstanceMetaInfo = permissionInstanceService.getPermissionInstanceImpl();