Test It Out
- Last Updated: May 20, 2026
- 1 minute read
- MarkLogic Server
- Version 12.0
- Documentation
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 |