Test It Out
The definitional queries on the roles will effectively treat documents as having permissions for that role. As a result, when Edna, Fred and Peter perform a search (read) against the database, they are able to read the following documents:
Document |
Metadata |
User with |
---|---|---|
|
|
Edna |
|
|
Edna |
|
|
Fred |
|
|
Peter |
|
|
Edna, Fred, Peter |
|
|
Edna, Fred, Peter |