专业化管理 > 确保数据安全 > 安全标签和协议 > 配置安全标签 > 安全标签配置步骤 > 步骤 15. 隐藏某些对象中的安全标签 - 可选
  
步骤 15. 隐藏某些对象中的安全标签 - 可选
如果不希望在某些对象类型中设置安全标签,可以隐藏安全标签功能,以避免其显示在这些对象类型的特定区域中。可在“编辑安全标签”“订阅”和协议授权对象搜索窗口中隐藏安全标签。为确保没有默认安全标签应用于对象类型,除了完成下列步骤之外,还需移除对象类型的所有安全标签对象初始化规则。
* 
在您的用户可以使用启用了安全标签的系统前,进行此操作。
要隐藏“编辑安全标签”操作,并移除将对象类型关联为已授权对象的功能:
1. 导航至下列源文件:
<Windchill>/conf/exposedSecurityLabelObjects.xml
其中 <Windchill> 是您的 Windchill 解决方案的安装位置。
2. exposedSecurityLabelObjects.xml 文件复制到以下位置:
<Windchill>/wtSafeArea/ptcOrig/conf/exposedSecurityLabelObjects.xml
<Windchill>/wtSafeArea/siteMod/conf/exposedSecurityLabelObjects.xml
3. 在文本编辑器中打开 <Windchill>/wtSafeArea/siteMod/conf/exposedSecurityLabelObjects.xml 文件。
4. 对于要隐藏安全标签的对象类型,在该条目周围添加备注字符。例如:
<object name="wt.doc.WTDocument"/>
变为
<!--object name="wt.doc.WTDocument"/-->
5. 保存并关闭。
要在“订阅”窗口中隐藏选定类型的“修改安全标签”事件:
* 
仅当您在启用修改安全标签事件进行预订中为预订启用了安全标签时,才需完成以下步骤。
1. 导航至下列文件:
<Windchill>/wtSafeArea/siteMod/codebase/wt/notify/subscriptionConfig.xml
其中 <Windchill> 是您的 Windchill 解决方案的安装位置。
2. 在文本编辑器中打开 subscriptionConfig.xml 文件。
3. <category name = "EDIT_SECURITY_LABELS"> 元素中,对于要隐藏安全标签的对象类型,在其条目周围添加备注字符。例如,
<override type ="wt.doc.WTDocument"/>
变为
<!--override type ="wt.doc.WTDocument"/-->
4. 保存并关闭。
要从协议中的已授权对象类型列表中移除对象类型:
* 
仅当启用了协议时,才需完成以下步骤。
1. 导航至下列源文件:
<Windchill>/wtSafeArea/siteMod/codebase/com/ptc/
core/agreements/agreements-SearchableTypes.properties.xconf
其中 <Windchill> 是您的 Windchill 解决方案的安装位置。
2. 在文本编辑器中打开 agreements-SearchableTypes.properties.xconf 文件。
3. 在适用于安装的每个类别中,从逗号分隔的列表中移除要隐藏安全标签的对象类型条目。
例如,以下特性具有对象类型 wt.doc.WTDocument:
<Property name="Foundation.AgreementAuthObjectPickerFoundation" multivalued=","
default="wt.epm.EPMDocument,wt.change2.WTAnalysisActivity,
wt.change2.WTChangeActivity2,wt.change2.WTChangeInvestigation,
wt.change2.WTChangeIssue,wt.change2.WTChangeOrder2,wt.change2.WTChangeProposal,
wt.change2.WTChangeRequest2,wt.change2.WTVariance,wt.maturity.PromotionNotice,
wt.doc.WTDocument,wt.part.WTPart,wt.vc.baseline.ManagedBaseline,
wt.meeting.MeetingCenterMeeting,wt.meeting.TraditionalMeeting,
wt.viewmarkup.WTMarkUp,wt.viewmarkup.DerivedImage,
wt.annotation.StructuredAnnotationSet,wt.part.WTProductConfiguration,
wt.part.WTProductInstance2,com.ptc.windchill.wp.AbstractWorkPackage,
com.ptc.windchill.wp.delivery.DeliveryRecord"/>
编辑特性元素以移除 wt.doc.WTDocument 参考。结果为:
<Property name="Foundation.AgreementAuthObjectPickerFoundation" multivalued=","
default="wt.epm.EPMDocument,wt.change2.WTAnalysisActivity,
wt.change2.WTChangeActivity2,wt.change2.WTChangeInvestigation,
wt.change2.WTChangeIssue,wt.change2.WTChangeOrder2,wt.change2.WTChangeProposal,
wt.change2.WTChangeRequest2,wt.change2.WTVariance,wt.maturity.PromotionNotice,
wt.part.WTPart,wt.vc.baseline.ManagedBaseline,wt.meeting.MeetingCenterMeeting,
wt.meeting.TraditionalMeeting,wt.viewmarkup.WTMarkUp,wt.viewmarkup.DerivedImage,
wt.annotation.StructuredAnnotationSet,wt.part.WTProductConfiguration,
wt.part.WTProductInstance2,com.ptc.windchill.wp.AbstractWorkPackage,
com.ptc.windchill.wp.delivery.DeliveryRecord"/>
4. 保存并关闭。