User not authorized to initiate import ?

Community Alums
Not applicable

We have a requirement to provide import access to group outside of admin only on custom tables. My understanding is that the Easy Import function is locked down to Admin's.

Please help understand how best this could be delivered i have referred but not sure if i should do something > this is something i have create.

  • Created a System property to store all your custom tables - Keep it as a string and included table names with , separated. 
  • Created a Script Include and make it Client callable
  • Created a function in Script Include to compare current table against custom table list, if match return true, else return false. 
  • Created a new UI Context for Global table and included this function along with existing conditions

This group users can now see Import Gota and attached the file but when is say upload the issue occurs.

var UIContextForCustomTables = Class.create();

UIContextForCustomTables.prototype = {

    initialize: function() {

 },

  type: 'UIContextForCustomTables'

}; 

UIContextForCustomTables.getCustomTable = function(table){

var tables = gs.getProperty('custom.tables'); // system properties for list of custom tables

if(tables.indexOf(table) > -1)

return true;

else

return false;

};

 

 

      UI Context screenshort 

find_real_file.png

 

find_real_file.png

Appreciate any help.....

   

 

 

4 REPLIES 4

Christian54
Tera Contributor

Hello folks

As I'm facing the same issue, I'm coming back on this one... Has there been any progress made on authorizing non-admin roles to import data ?

Cheers,

Christian

Fabio Dedoni
Tera Contributor

The user needs to have the "import_admin" role, to have access to complete the import process.

I am still getting the same error after granted the "import_admin" role

Francesco Saver
Tera Contributor

I'm facing the same issue, did you find any solution to this?