Currently importing data is reserved only for admin. Is it possible to modify the source code, or permissions to allow non-admin users to import data?
Importing Data
Collapse
X
-
Tags: None
-
I think it's tricky to implement properly. To do it roughly you can just remove this line: https://github.com/espocrm/espocrm/b...Import.php#L42If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.Comment
-
Hi,
I try this way (remove line 42 as this guide https://github.com/espocrm/espocrm/b...Import.php#L42 ) but import result show this error:
Error 403
You don't have an access to this area."
Please adviseComment
-
Hi,
you need to modify at least one more file https://github.com/espocrm/espocrm/b.../import.js#L34Comment
-
Hi,
I update import.js file as below
Espo.define('controllers/import', 'controllers/record', function (Dep) {
return Dep.extend({
defaultAction: 'index',
checkAccess: function () {
if (this.getUser().isAdmin()) {
return true;
}
return true;
},
index: function () {
this.main('Import.Index', null);
}
});
});
But the error still sameComment
Comment