Files
ofbiz-plugins/birt/data/BirtSecurityGroupDemoData.xml
T
Nicolas Malin 492772b40a Implemented: Birt Report Builder: an enhancement of the Birt component. Easier user possibility of report creation. (OFBIZ-6919)
The concept, you define a report domain related to an entity or a service through a master content (master report) and a master search form.
When a high level user create a report on a configured domain, OFBiz prepare an instantiation of the master content (flexible report) that permit
to surcharge the search form (recorded dynamically on the content as ElectronicText) and prepare a rptDesign skeleton.
The high level user can download the rptDesign to edit it trhough the birt editor, with all fields that ofbiz will be load as dataset and when is finish upload the result on the content instantiation.
For the end user, he selected the instantiation report, OFBiz display the report search from the content instantiation and the submission call birt with the search parameters and the linked rptDesign.

The rptDesign file is drive by OFBiz to build the data set by two methods :
 * call the performFind if the domain is related to an entity
 * call the a custom service if the domain is related to a service.
For the last case we need two services, a first who prepare and list available fields for search and display. And a second who realize the search.
By convention currently the first service as the same name that the second service suffixed by 'PrepareFields'

This commit contains :
 * useful UI to create a new content instance from a master content. List, edit, remove a content instance and a simple drop-down to list all instance published (ready to use by end user)
 * all services (with the work flexibleReport) to manage a flexible report, prepare the rptDesign skeleton, reanalyze the rptDesign uploaded, prepare the search form
 * Services interface to define you own search custom method
 * Two examples, one on the entity Exemple and one with the service flexibleReportTurnOver. Warning ! there are raw example without a beautiful rptDesign so you need to update the rptDesign with the birt editor to display something.
Thanks: François Wurmser for initialize this improvement, Jacques and Gil for their time to analyze, document and refactor the code


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/plugins@1780683 13f79535-47bb-0310-9956-ffa450edef68
2017-01-28 13:22:55 +00:00

54 lines
3.2 KiB
XML

<?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.
-->
<entity-engine-xml>
<SecurityPermission permissionId="BIRT_ADMIN" description="ALL Birt component operations"/>
<SecurityPermission permissionId="BIRT_CREATE" description="Create report from master"/>
<SecurityPermission permissionId="BIRT_UPDATE" description="Update operations for reports"/>
<SecurityPermission permissionId="BIRT_DELETE" description="Delete reports"/>
<SecurityPermission permissionId="BIRT_VIEW" description="View and use all birt reports"/>
<SecurityGroup groupId="BIRTADMIN" description="Birt - admin"/>
<SecurityGroup groupId="BIRTUSER" description="Birt - user"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="BIRT_CREATE"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="BIRT_UPDATE"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="BIRT_DELETE"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="BIRT_VIEW"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="OFBTOOLS_VIEW"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="CONTENTMGR_ROLE_VIEW"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="CONTENTMGR_VIEW"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="CONTENTMGR_ROLE_CREATE"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="CONTENTMGR_CREATE"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="CONTENTMGR_ROLE_UPDATE"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="CONTENTMGR_UPDATE"/>
<SecurityGroupPermission groupId="BIRTADMIN" permissionId="CONTENTMGR_DELETE"/>
<SecurityGroupPermission groupId="BIRTUSER" permissionId="BIRT_VIEW"/>
<SecurityGroupPermission groupId="BIRTUSER" permissionId="OFBTOOLS_VIEW"/>
<SecurityGroupPermission groupId="FULLADMIN" permissionId="BIRT_CREATE"/>
<SecurityGroupPermission groupId="FULLADMIN" permissionId="BIRT_UPDATE"/>
<SecurityGroupPermission groupId="FULLADMIN" permissionId="BIRT_DELETE"/>
<SecurityGroupPermission groupId="FULLADMIN" permissionId="BIRT_VIEW"/>
<SecurityGroupPermission groupId="FLEXADMIN" permissionId="BIRT_CREATE"/>
<SecurityGroupPermission groupId="FLEXADMIN" permissionId="BIRT_UPDATE"/>
<SecurityGroupPermission groupId="FLEXADMIN" permissionId="BIRT_DELETE"/>
<SecurityGroupPermission groupId="FLEXADMIN" permissionId="BIRT_VIEW"/>
</entity-engine-xml>