A role must be granted access to a data source to view reports that run against the data source or to build and edit data models that use the data source.
Add access to data sources in the Roles and Permissions page. See Granting Data Access.
Scripting on this page enhances content navigation, but does not change the content in any way.