initial commit

This commit is contained in:
devapp
2021-11-29 11:56:30 +01:00
parent 016e45a01c
commit 5b67068faa
4285 changed files with 927085 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<csv-inputs xmlns="http://axelor.com/xml/ns/data-import"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://axelor.com/xml/ns/data-import http://axelor.com/xml/ns/data-import/data-import_5.2.xsd">
<input file="business-project_role.csv" separator=";" type="com.axelor.auth.db.Role" search="self.name = :name"/>
<input file="business-project_permission.csv" separator=";" type="com.axelor.auth.db.Permission" search="self.name = :name" call="com.axelor.csv.script.ImportPermission:importPermissionToRole">
<bind to="canRead" eval="can_read == 'x' ? 'true' : 'false'"/>
<bind to="canWrite" eval="can_write == 'x' ? 'true' : 'false'"/>
<bind to="canCreate" eval="can_create == 'x' ? 'true' : 'false'"/>
<bind to="canRemove" eval="can_remove == 'x' ? 'true' : 'false'"/>
<bind to="canExport" eval="can_export == 'x' ? 'true' : 'false'"/>
</input>
<input file="business-project_metaMenu.csv" separator=";" type="com.axelor.meta.db.MetaMenu" search="self.name = :name" update="true">
<bind column="roles" to="roles" search="self.name in :roles" eval="roles.split('\\|') as List"/>
</input>
</csv-inputs>

View File

@@ -0,0 +1,5 @@
"name";"roles"
"business-project-root";"Business Project Manager|Business Project User|Business Project Read"
"business-project-folder";"Business Project Manager|Business Project User|Business Project Read"
"business-project-all";"Business Project Manager|Business Project User|Business Project Read"
"invoicing-project-all";"Business Project Manager|Business Project User|Business Project Read"
1 name roles
2 business-project-root Business Project Manager|Business Project User|Business Project Read
3 business-project-folder Business Project Manager|Business Project User|Business Project Read
4 business-project-all Business Project Manager|Business Project User|Business Project Read
5 invoicing-project-all Business Project Manager|Business Project User|Business Project Read

View File

@@ -0,0 +1,4 @@
"name";"object";"can_read";"can_write";"can_create";"can_remove";"can_export";"condition";"conditionParams";"roleName"
"perm.businessproject.InvoicingProject.r";"com.axelor.apps.businessproject.db.InvoicingProject";"x";;;;;;;"Business Project Read"
"perm.businessproject.InvoicingProject.rwc";"com.axelor.apps.businessproject.db.InvoicingProject";"x";"x";"x";;;;;"Business Project User"
"perm.businessproject.InvoicingProject.rwcde";"com.axelor.apps.businessproject.db.InvoicingProject";"x";"x";"x";"x";"x";;;"Business Project Manager"
1 name object can_read can_write can_create can_remove can_export condition conditionParams roleName
2 perm.businessproject.InvoicingProject.r com.axelor.apps.businessproject.db.InvoicingProject x Business Project Read
3 perm.businessproject.InvoicingProject.rwc com.axelor.apps.businessproject.db.InvoicingProject x x x Business Project User
4 perm.businessproject.InvoicingProject.rwcde com.axelor.apps.businessproject.db.InvoicingProject x x x x x Business Project Manager

View File

@@ -0,0 +1,4 @@
"name";"description"
"Business Project Read";
"Business Project User";
"Business Project Manager";
1 name description
2 Business Project Read
3 Business Project User
4 Business Project Manager