Customization Points
Configuring the access permissions
The permissions presented for view and update in the common access control component are configurable at the site, org, and application container with the preference service. At each container level, administrators can select the permissions that members of the container will be permitted to view and potentially update.
The initial values for the permission configurations are loaded from <Windchill>\loadFiles\preference.foundation.xml with a csvcategoryName of “SECURITY_PERMISSION_CATEGORY”.
Below is an example loading the initial system configuration for the Read permission.
<csvPreferenceDefinition
handler="wt.preference.LoadPreference.createPreferenceDefinition">
<csvname>security/accessPermissionRead</csvname>
<csvvisibility>HIDDEN</csvvisibility>

<csvcategoryName>SECURITY_PERMISSION_CATEGORY</csvcategoryName>

<csvdisplayName>com.ptc.core.security.securityResource:READ</csvdisplay
Name>

<csvdescription>com.ptc.core.security.securityResource:READ</csvdescript
ion>

<csvlongDescription>com.ptc.core.security.securityResource:READ</csvlong
Description>
<csvdefaultValue>UPDATE</csvdefaultValue>

<csvhandler>com.ptc.windchill.enterprise.preference.handler.ChoiceMultiPr
eferenceValue
Handler:readPermission:HIDE,com.ptc.core.security.securityResource,HIDE:V
IEW,com.ptc.
core.security.securityResource,VIEW:UPDATE,com.ptc.core.security.security
Resource,
UPDATE</csvhandler>
</csvPreferenceDefinition>

<csvLinkPreferenceClientDefinition
handler="wt.preference.LoadPreference.setClientDefinitionLink">
<csvname>security/accessPermissionRead</csvname>
<csvclientName>WINDCHILL</csvclientName>
</csvLinkPreferenceClientDefinition>
Configuring the access permissions
The initial state of the permission configuration can be modified by changing the “csvdefaultValue” for the permission entry. The possible values are “HIDE”, “READ”, and “UPDATE”.
¿Fue esto útil?