| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd"> |
| |
| <screen name="FindSecurityGroup"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleFindSecurityGroup"/> |
| <set field="headerItem" value="security"/> |
| <set field="tabButtonItem" value="FindSecurityGroup"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <include-screen name="FindSecurityGroup" location="component://common/widget/SecurityScreens.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditSecurityGroup"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditSecurityGroup"/> |
| <set field="tabButtonItem" value="EditSecurityGroup"/> |
| <set field="labelTitleProperty" value="PartyEditSecurityGroupWithId"/> |
| |
| <set field="groupId" from-field="parameters.groupId"/> |
| <entity-one entity-name="SecurityGroup" value-field="securityGroup"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PageTitleEditSecurityGroup}"> |
| <include-form name="EditSecurityGroup" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditSecurityGroupPermissions"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditSecurityGroupPermissions"/> |
| <set field="tabButtonItem" value="EditSecurityGroupPermissions"/> |
| <set field="labelTitleProperty" value="PartyPermissionSecurityGroupWithId"/> |
| |
| <set field="groupId" from-field="parameters.groupId"/> |
| <entity-one entity-name="SecurityGroup" value-field="securityGroup"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet title="${uiLabelMap.PageTitleEditSecurityGroupPermissions}"> |
| <include-form name="ListSecurityGroupPermissions" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </screenlet> |
| <screenlet title="${uiLabelMap.PartyAddPermissionToSecurityGroup}"> |
| <include-form name="AddSecurityGroupPermission" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </screenlet> |
| <screenlet title="${uiLabelMap.PartyAddPermissionManuallyToSecurityGroup}"> |
| <include-form name="AddSecurityGroupPermissionManual" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </screenlet> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditSecurityGroupUserLogins"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PartyAddUserLoginToSecurityGroup"/> |
| <set field="tabButtonItem" value="EditSecurityGroupUserLogins"/> |
| <set field="labelTitleProperty" value="PartyUserLoginsForSecurityGroup"/> |
| |
| <set field="groupId" from-field="parameters.groupId"/> |
| <entity-one entity-name="SecurityGroup" value-field="securityGroup"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="AddSecurityGroupUserLoginsPanel" title="${uiLabelMap.PartyAddUserLoginToSecurityGroup}" collapsible="true"> |
| <include-form name="AddSecurityGroupUserLogin" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </screenlet> |
| <include-form name="ListSecurityGroupUserLogins" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditSecurityGroupProtectedViews"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PartyAddProtectedViewToSecurityGroup"/> |
| <set field="tabButtonItem" value="EditSecurityGroupProtectedViews"/> |
| <set field="labelTitleProperty" value="PartyProtectedViewsForSecurityGroup"/> |
| |
| <set field="groupId" from-field="parameters.groupId"/> |
| <entity-one entity-name="SecurityGroup" value-field="securityGroup"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SecurityGroupDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <screenlet id="AddSecurityGroupProtectedViewsPanel" title="${uiLabelMap.PartyAddProtectedViewToSecurityGroup}" collapsible="true"> |
| <include-form name="AddSecurityGroupProtectedView" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </screenlet> |
| <include-form name="ListSecurityGroupProtectedViews" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditX509IssuerProvisions"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditIssuerProvisions"/> |
| <set field="headerItem" value="security"/> |
| <set field="tabButtonItem" value="EditX509IssuerProvisions"/> |
| |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <condition> |
| <if-has-permission permission="SECURITY" action="_VIEW"/> |
| </condition> |
| <widgets> |
| <screenlet title="${uiLabelMap.PageTitleEditIssuerProvisions}"> |
| <container style="button-bar"> |
| <link target="EditSecurityGroup" style="buttontext create" text="${uiLabelMap.PartyNewSecurityGroup}"/> |
| <link target="EditCertIssuerProvisions" style="buttontext" text="${uiLabelMap.PartyCertIssuers}"/> |
| </container> |
| <container> |
| <include-form name="CertIssuerList" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </container> |
| </screenlet> |
| <screenlet title="${uiLabelMap.PageTitleAddIssuerProvisions}"> |
| <include-form name="ViewCertificate" location="component://party/widget/partymgr/SecurityForms.xml"/> |
| </screenlet> |
| </widgets> |
| <fail-widgets> |
| <label style="h3">${uiLabelMap.PartySecurityViewPermissionError}</label> |
| </fail-widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ViewCertificate"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleImportCertificate"/> |
| <set field="headerItem" value="security"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <condition> |
| <if-has-permission permission="SECURITY" action="_VIEW"/> |
| </condition> |
| <widgets> |
| <container style="widget-container"> |
| <platform-specific> |
| <html> |
| <html-template location="component://party/webapp/partymgr/security/ViewCertificate.ftl"/> |
| </html> |
| </platform-specific> |
| </container> |
| </widgets> |
| <fail-widgets> |
| <label style="h3">${uiLabelMap.PartySecurityViewPermissionError}</label> |
| </fail-widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| </screens> |