I'm currently using SQL Server 2012, and I have a question concerning cross-schema access with different access rights:
Let's say I have two schemas: UserSchema and TableSchema.
TableSchema contains of 2 tables, and this schema is accessible by an administrator user only, for reading, updates, etc.
UserSchema is to be accessible by users with SELECT-rights (or whatever you would call the reading rights). This schema contains a view that is supposed to select data from the two tables in the TableSchema.
My idea is that the users of the UserSchema should have access to the UserSchema only, but not having access to the TableSchema. Will this work? Or will querying the view not work because of not having persmission to read data directly from the tables? Is there a good solution to work around this, or will I have to forget the idea and give the users reading access to the TableSchema as well?
The answer to the main question is probably obvious, but I seem to find a bit different answers when trying to google it, so this is more or less a yes-or-no-question to confirm or refute the idea.