[ 
https://issues.apache.org/jira/browse/VCL-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926479#comment-15926479
 ] 

ASF subversion and git services commented on VCL-1024:
------------------------------------------------------

Commit 1787071 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1787071 ]

VCL-1024 - comment out Server Profile code

privileges.php: modified getNodePrivileges and getNodeCascadePrivileges: added 
conditional to queries including userprivtype table
to not include records where name is configAdmin or serverProfileAdmin

requests.php:
-modified newReservationHTML: commented out block dealing with $extraimages; 
commented out block that displays dropdown for selecti
ng a Server Profile; changed div name from deployprofilediv to deployserverdiv
-modified AJupdateWaitTime: commented out block that adds additional images 
available from Server Profiles
-modified AJnewRequest: commented out 'serverprofileid' and $data['profileid'] 
from $fields and $values
-modified processRequestInput: commented out code dealing with $extraimages; 
commented out code processing $return['profileid']

states.php: commented out the following: serverProfiles, AJsaveServerProfile, 
AJserverProfileData, AJdelServerProfile, jsonProfileGroupingGroups, 
jsonProfileGroupingProfiles, AJaddGroupToProfile, AJremGroupFromProfile, 
AJaddProfileToGroup, AJremProfileFromGroup, AJserverProfileStoreData, 
AJfetchRouterDNS

utils.php:
-modified initGlobals: commented out require_once form serverprofiles.php when 
mode is xmlrpccall or xmlrpcaffiliations; commented
out require_once's in serverProfiles case
-modified checkAccess: commented out serverProfiles case in switch statement
-commented out getServerProfiles and getServerProfileImages
-modified getOverallUserPrivs and getTypes: added conditional to query to not 
return userprivtypes configAdmin or serverProfileAdmin
-modified getNavMenuData: commented out serverProfileAdmin section
-modified getDojoHTML: commented out serverProfiles cases; commented out 
continuation for AJserverProfileStoreData and addOnLoad call to 
populateProfileStore

xmlrpcaffiliations.php: modified XMLRPCdeployServer: commented out code related 
to $extraimages

newresservercommon.js: commented out populateProfileStore, 
populateProfileStoreCB, deployProfileChanged, getServerProfileData, 
getServerProfileDataDeployCB

requests.js:
-commented out profilestoredata global
-modified resetNewResDlg: commented out reset for deployprofileid
-modified selectResType: commented out adding hidden class to 
deployprofileslist; commented out code related to profilestore
-modified getDeployData: commented out line setting data.profileid

> comment out Server Profile code
> -------------------------------
>
>                 Key: VCL-1024
>                 URL: https://issues.apache.org/jira/browse/VCL-1024
>             Project: VCL
>          Issue Type: Task
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>             Fix For: 2.5
>
>
> Server Profiles were never developed into much. To simplify a bit, the code 
> should be commented out for now and probably removed later.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to