PolicyConstants.PERM_CREATE_EDIT_AND_ASSIGN, PolicyConstants.PERM_EDIT_AND_ASSIGN,
PolicyConstants.PERM_ASSIGN }, request);
} else {
PolicyUtil.checkPermission(PolicyConstants.PERSONAL_PROFILE_RESOURCE_TYPE, PolicyConstants.PERM_MAINTAIN, request);
}
profileForm.apply();
if (profileForm.getEditing()) {
PolicyDatabaseFactory.getInstance().attachResourceToPolicyList(profile, profileForm.getSelectedPoliciesList(),
getSessionInfo(request));
profile.getResourceType().updateResource(profile, getSessionInfo(request));
} else {