We are working on a scenario where we want all the users to have access to specific virtual tables connected to remote sources.
For this purpose, a role 'rs.hdbrole' is being created through activation. Whenever a new virtual table is created, role 'rs' is given select object level privileges with grantable option as follows. This role 'rs' is given to all the users so that :
'GRANT SELECT ON <virtualTable> TO "rs" WITH GRANT OPTION.
This code is activated successfully the first time.When I create the virtual table, the privileges to the role are added correctly and the users can see these tables.
But when I try to re activate the same code or import a delivery unit on some other machine which already has this code, it gives an activation error as:
Delivery Unit Import - Activation - rs.hdbrole - object type is unexpected