I have a user who I want to give readonly access to an SQL Server 2000 database. I have put them in the db_datareader role, and they can select from tables fine, but when they attempt to select from a view, 0 rows are always returned (the view does return rows when run as db_owner).
How can I grant this user access to read views while still ensuring they can’t write to the database?
GRANT SELECT ON [viewname] TO [user or role_name]
should propagate to all objects that are referenced in the view