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,20 @@
<?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="appraisal_role.csv" separator=";" type="com.axelor.auth.db.Role" search="self.name = :name"/>
<input file="appraisal_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="appraisal_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,7 @@
"name";"roles"
"hr-root";"Appraisal Manager|Appraisal User|Appraisal Read"
"appraisal-root";"Appraisal Manager|Appraisal User|Appraisal Read"
"appraisal-all-appraisals";"Appraisal Manager|Appraisal User|Appraisal Read"
"appraisal-template-appraisals";"Appraisal Manager|Appraisal User|Appraisal Read"
"appraisal-config";"Appraisal Manager"
"appraisal-config-appraisal-type";"Appraisal Manager"
1 name roles
2 hr-root Appraisal Manager|Appraisal User|Appraisal Read
3 appraisal-root Appraisal Manager|Appraisal User|Appraisal Read
4 appraisal-all-appraisals Appraisal Manager|Appraisal User|Appraisal Read
5 appraisal-template-appraisals Appraisal Manager|Appraisal User|Appraisal Read
6 appraisal-config Appraisal Manager
7 appraisal-config-appraisal-type Appraisal Manager

View File

@@ -0,0 +1,7 @@
"name";"object";"can_read";"can_write";"can_create";"can_remove";"can_export";"condition";"conditionParams";"roleName"
"perm.talent.Appraisal.r";"com.axelor.apps.talent.db.Appraisal";"x";;;;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Appraisal Read"
"perm.talent.AppraisalType.r";"com.axelor.apps.talent.db.AppraisalType";"x";;;;;;;"Appraisal Read"
"perm.talent.Appraisal.rwc";"com.axelor.apps.talent.db.Appraisal";"x";"x";"x";;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Appraisal User"
"perm.talent.AppraisalType.rwc";"com.axelor.apps.talent.db.AppraisalType";"x";"x";"x";;;;;"Appraisal User"
"perm.talent.Appraisal.rwcde";"com.axelor.apps.talent.db.Appraisal";"x";"x";"x";"x";"x";"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Appraisal Manager"
"perm.talent.AppraisalType.rwcde";"com.axelor.apps.talent.db.AppraisalType";"x";"x";"x";"x";"x";;;"Appraisal Manager"
1 name object can_read can_write can_create can_remove can_export condition conditionParams roleName
2 perm.talent.Appraisal.r com.axelor.apps.talent.db.Appraisal x self.company.id in (?) __user__.companySet.id.plus(0) Appraisal Read
3 perm.talent.AppraisalType.r com.axelor.apps.talent.db.AppraisalType x Appraisal Read
4 perm.talent.Appraisal.rwc com.axelor.apps.talent.db.Appraisal x x x self.company.id in (?) __user__.companySet.id.plus(0) Appraisal User
5 perm.talent.AppraisalType.rwc com.axelor.apps.talent.db.AppraisalType x x x Appraisal User
6 perm.talent.Appraisal.rwcde com.axelor.apps.talent.db.Appraisal x x x x x self.company.id in (?) __user__.companySet.id.plus(0) Appraisal Manager
7 perm.talent.AppraisalType.rwcde com.axelor.apps.talent.db.AppraisalType x x x x x Appraisal Manager

View File

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

View File

@@ -0,0 +1,20 @@
<?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="recruitment_role.csv" separator=";" type="com.axelor.auth.db.Role" search="self.name = :name"/>
<input file="recruitment_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="recruitment_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,9 @@
"name";"roles"
"hr-root";"Recruitment Manager|Recruitment User|Recruitment Read"
"recruitment-root";"Recruitment Manager|Recruitment User|Recruitment Read"
"recruitment-job-position-open";"Recruitment Manager|Recruitment User|Recruitment Read"
"recruitment-job-application-all";"Recruitment Manager|Recruitment User|Recruitment Read"
"recruitment-config";"Recruitment Manager"
"recruitment-config-education-level";"Recruitment Manager"
"recruitment-config-hiring-stage";"Recruitment Manager"
"recruitment-config-source";"Recruitment Manager"
1 name roles
2 hr-root Recruitment Manager|Recruitment User|Recruitment Read
3 recruitment-root Recruitment Manager|Recruitment User|Recruitment Read
4 recruitment-job-position-open Recruitment Manager|Recruitment User|Recruitment Read
5 recruitment-job-application-all Recruitment Manager|Recruitment User|Recruitment Read
6 recruitment-config Recruitment Manager
7 recruitment-config-education-level Recruitment Manager
8 recruitment-config-hiring-stage Recruitment Manager
9 recruitment-config-source Recruitment Manager

View File

@@ -0,0 +1,19 @@
"name";"object";"can_read";"can_write";"can_create";"can_remove";"can_export";"condition";"conditionParams";"roleName"
"perm.talent.EducationLevel.r";"com.axelor.apps.talent.db.EducationLevel";"x";;;;;;;"Recruitment Read"
"perm.talent.HiringStage.r";"com.axelor.apps.talent.db.HiringStage";"x";;;;;;;"Recruitment Read"
"perm.talent.Skill.r";"com.axelor.apps.talent.db.Skill";"x";;;;;;;"Recruitment Read"
"perm.talent.JobApplication.r";"com.axelor.apps.talent.db.JobApplication";"x";;;;;;;"Recruitment Read"
"perm.talent.JobPosition.r";"com.axelor.apps.talent.db.JobPosition";"x";;;;;;;"Recruitment Read"
"perm.talent.TalentSource.r";"com.axelor.apps.talent.db.TalentSource";"x";;;;;;;"Recruitment Read"
"perm.talent.EducationLevel.rwc";"com.axelor.apps.talent.db.EducationLevel";"x";"x";"x";;;;;"Recruitment User"
"perm.talent.HiringStage.rwc";"com.axelor.apps.talent.db.HiringStage";"x";"x";"x";;;;;"Recruitment User"
"perm.talent.Skill.rwc";"com.axelor.apps.talent.db.Skill";"x";"x";"x";;;;;"Recruitment User"
"perm.talent.JobApplication.rwc";"com.axelor.apps.talent.db.JobApplication";"x";"x";"x";;;;;"Recruitment User"
"perm.talent.JobPosition.rwc";"com.axelor.apps.talent.db.JobPosition";"x";"x";"x";;;;;"Recruitment User"
"perm.talent.TalentSource.rwc";"com.axelor.apps.talent.db.TalentSource";"x";"x";"x";;;;;"Recruitment User"
"perm.talent.EducationLevel.rwcde";"com.axelor.apps.talent.db.EducationLevel";"x";"x";"x";"x";"x";;;"Recruitment Manager"
"perm.talent.HiringStage.rwcde";"com.axelor.apps.talent.db.HiringStage";"x";"x";"x";"x";"x";;;"Recruitment Manager"
"perm.talent.Skill.rwcde";"com.axelor.apps.talent.db.Skill";"x";"x";"x";"x";"x";;;"Recruitment Manager"
"perm.talent.JobApplication.rwcde";"com.axelor.apps.talent.db.JobApplication";"x";"x";"x";"x";"x";;;"Recruitment Manager"
"perm.talent.JobPosition.rwcde";"com.axelor.apps.talent.db.JobPosition";"x";"x";"x";"x";"x";;;"Recruitment Manager"
"perm.talent.TalentSource.rwcde";"com.axelor.apps.talent.db.TalentSource";"x";"x";"x";"x";"x";;;"Recruitment Manager"
1 name object can_read can_write can_create can_remove can_export condition conditionParams roleName
2 perm.talent.EducationLevel.r com.axelor.apps.talent.db.EducationLevel x Recruitment Read
3 perm.talent.HiringStage.r com.axelor.apps.talent.db.HiringStage x Recruitment Read
4 perm.talent.Skill.r com.axelor.apps.talent.db.Skill x Recruitment Read
5 perm.talent.JobApplication.r com.axelor.apps.talent.db.JobApplication x Recruitment Read
6 perm.talent.JobPosition.r com.axelor.apps.talent.db.JobPosition x Recruitment Read
7 perm.talent.TalentSource.r com.axelor.apps.talent.db.TalentSource x Recruitment Read
8 perm.talent.EducationLevel.rwc com.axelor.apps.talent.db.EducationLevel x x x Recruitment User
9 perm.talent.HiringStage.rwc com.axelor.apps.talent.db.HiringStage x x x Recruitment User
10 perm.talent.Skill.rwc com.axelor.apps.talent.db.Skill x x x Recruitment User
11 perm.talent.JobApplication.rwc com.axelor.apps.talent.db.JobApplication x x x Recruitment User
12 perm.talent.JobPosition.rwc com.axelor.apps.talent.db.JobPosition x x x Recruitment User
13 perm.talent.TalentSource.rwc com.axelor.apps.talent.db.TalentSource x x x Recruitment User
14 perm.talent.EducationLevel.rwcde com.axelor.apps.talent.db.EducationLevel x x x x x Recruitment Manager
15 perm.talent.HiringStage.rwcde com.axelor.apps.talent.db.HiringStage x x x x x Recruitment Manager
16 perm.talent.Skill.rwcde com.axelor.apps.talent.db.Skill x x x x x Recruitment Manager
17 perm.talent.JobApplication.rwcde com.axelor.apps.talent.db.JobApplication x x x x x Recruitment Manager
18 perm.talent.JobPosition.rwcde com.axelor.apps.talent.db.JobPosition x x x x x Recruitment Manager
19 perm.talent.TalentSource.rwcde com.axelor.apps.talent.db.TalentSource x x x x x Recruitment Manager

View File

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

View File

@@ -0,0 +1,20 @@
<?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="training_role.csv" separator=";" type="com.axelor.auth.db.Role" search="self.name = :name"/>
<input file="training_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="training_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,9 @@
"name";"roles"
"hr-root";"Training Manager|Training User|Training Read"
"training-root";"Training Manager|Training User|Training Read"
"training-register-all";"Training Manager|Training User|Training Read"
"training-dashboard";"Training Manager|Training User|Training Read"
"training-conf";"Training Manager"
"training-category-all";"Training Manager"
"training-training-all";"Training Manager"
"training-session-all";"Training Manager"
1 name roles
2 hr-root Training Manager|Training User|Training Read
3 training-root Training Manager|Training User|Training Read
4 training-register-all Training Manager|Training User|Training Read
5 training-dashboard Training Manager|Training User|Training Read
6 training-conf Training Manager
7 training-category-all Training Manager
8 training-training-all Training Manager
9 training-session-all Training Manager

View File

@@ -0,0 +1,16 @@
"name";"object";"can_read";"can_write";"can_create";"can_remove";"can_export";"condition";"conditionParams";"roleName"
"perm.talent.TrainingCategory.r";"com.axelor.apps.talent.db.TrainingCategory";"x";;;;;;;"Training Read"
"perm.talent.Training.r";"com.axelor.apps.talent.db.Training";"x";;;;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Training Read"
"perm.talent.TrainingSession.r";"com.axelor.apps.talent.db.TrainingSession";"x";;;;;;;"Training Read"
"perm.talent.Skill.r";"com.axelor.apps.talent.db.Skill";"x";;;;;;;"Training Read"
"perm.talent.TalentSource.r";"com.axelor.apps.talent.db.TalentSource";"x";;;;;;;"Training Read"
"perm.talent.TrainingCategory.rwc";"com.axelor.apps.talent.db.TrainingCategory";"x";"x";"x";;;;;"Training User"
"perm.talent.Training.rwc";"com.axelor.apps.talent.db.Training";"x";"x";"x";;;"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Training User"
"perm.talent.TrainingSession.rwc";"com.axelor.apps.talent.db.TrainingSession";"x";"x";"x";;;;;"Training User"
"perm.talent.Skill.rwc";"com.axelor.apps.talent.db.Skill";"x";"x";"x";;;;;"Training User"
"perm.talent.TrainingRegister.rwc";"com.axelor.apps.talent.db.TrainingRegister";"x";"x";"x";;;;;"Training User"
"perm.talent.TrainingCategory.rwcde";"com.axelor.apps.talent.db.TrainingCategory";"x";"x";"x";"x";"x";;;"Training Manager"
"perm.talent.Training.rwcde";"com.axelor.apps.talent.db.Training";"x";"x";"x";"x";"x";"self.company.id in (?)";"__user__.companySet.id.plus(0)";"Training Manager"
"perm.talent.TrainingSession.rwcde";"com.axelor.apps.talent.db.TrainingSession";"x";"x";"x";"x";"x";;;"Training Manager"
"perm.talent.Skill.rwcde";"com.axelor.apps.talent.db.Skill";"x";"x";"x";"x";"x";;;"Training Manager"
"perm.talent.TrainingRegister.rwcde";"com.axelor.apps.talent.db.TrainingRegister";"x";"x";"x";"x";"x";;;"Training Manager"
1 name object can_read can_write can_create can_remove can_export condition conditionParams roleName
2 perm.talent.TrainingCategory.r com.axelor.apps.talent.db.TrainingCategory x Training Read
3 perm.talent.Training.r com.axelor.apps.talent.db.Training x self.company.id in (?) __user__.companySet.id.plus(0) Training Read
4 perm.talent.TrainingSession.r com.axelor.apps.talent.db.TrainingSession x Training Read
5 perm.talent.Skill.r com.axelor.apps.talent.db.Skill x Training Read
6 perm.talent.TalentSource.r com.axelor.apps.talent.db.TalentSource x Training Read
7 perm.talent.TrainingCategory.rwc com.axelor.apps.talent.db.TrainingCategory x x x Training User
8 perm.talent.Training.rwc com.axelor.apps.talent.db.Training x x x self.company.id in (?) __user__.companySet.id.plus(0) Training User
9 perm.talent.TrainingSession.rwc com.axelor.apps.talent.db.TrainingSession x x x Training User
10 perm.talent.Skill.rwc com.axelor.apps.talent.db.Skill x x x Training User
11 perm.talent.TrainingRegister.rwc com.axelor.apps.talent.db.TrainingRegister x x x Training User
12 perm.talent.TrainingCategory.rwcde com.axelor.apps.talent.db.TrainingCategory x x x x x Training Manager
13 perm.talent.Training.rwcde com.axelor.apps.talent.db.Training x x x x x self.company.id in (?) __user__.companySet.id.plus(0) Training Manager
14 perm.talent.TrainingSession.rwcde com.axelor.apps.talent.db.TrainingSession x x x x x Training Manager
15 perm.talent.Skill.rwcde com.axelor.apps.talent.db.Skill x x x x x Training Manager
16 perm.talent.TrainingRegister.rwcde com.axelor.apps.talent.db.TrainingRegister x x x x x Training Manager

View File

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