uwescience / sqlshare

Documentation and help for the SQLShare project
escience.washington.edu/sqlshare
7 stars 2 forks source link

Permissions semantics through multiple views is not what we want #26

Open billhowe opened 11 years ago

billhowe commented 11 years ago

Imagine Alice, Bob, and Charlie are SQLShare users

Now Bob can run queries on AA with no problem, and can derive his own views.

Now Charlie cannot access view BA, because the ownership chain is broken (Bob, then Alice).

We want the second scenario to work, and it requires automatically assigning permissions to Charlie all the way down the chain.

[1] http://sqlmag.com/sql-server/security-through-ownership-chains