Is dataset just a "wrapper" around tables? I am as...
# suitescript
b
Is dataset just a "wrapper" around tables? I am asking because i am wondering if i can give someone access to read a dataset although he does not have access to the table itself (for example reading some dataset that takes specific fields from employees table, but not granting him permissions to see all employees).
watching following 2
m
I don’t think it’s a wrapper around the native tables like Employees, it just provides script access to a suite analytics dataset mostly. But, there lies the access issue. If the dataset acts under the user’s permissions to pull in the data, then they won’t see Employee info with out that access on their account. If the dataset is acting under a higher level system role, then the info will probably pass thorough. It’s like setting a UE script to run as admin regardless of who is triggering the script.
b
You can think of datasets as query definitions. The dataset respects the permissions of the user. If the dataset is referenced from a script then the script user would impact access, as mentioned above.