VisibilityPreviewDto
What a user can see, for an admin checking an access setup
Series hidden from the user
Possible values: >= 0
libraries object[]required
Every library, and whether the user can see it
False for admins and maintainers, and for users no rule applies to
The user's role exempts them from access groups (admin or maintainer)
series object
Present when a series was asked about
allowedBy object[]required
Every group (or personal grant) whose allow rules let it through
Group ID (only present for group sources)
550e8400-e29b-41d4-a716-446655440000Group name (only present for group sources)
Manga ReadersSource kind: "user" or "group"
groupThe outcome for one series, and the reason for it.
Possible values: [unrestricted, open, allowed, notAllowed, denied]
deniedBy object[]required
Every deny rule that matches this series
The kind of value a rule names.
Possible values: [sharingTag, tag, genre, library]
source objectrequired
Source of a grant (user or group)
Group ID (only present for group sources)
550e8400-e29b-41d4-a716-446655440000Group name (only present for group sources)
Manga ReadersSource kind: "user" or "group"
groupThe tag or genre name, or the sharing tag or library name
The previewed user
Series the user can see
Possible values: >= 0
{
"hiddenSeriesCount": 0,
"libraries": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"visible": true
}
],
"restricted": true,
"roleBypass": true,
"series": {
"allowedBy": [
{
"groupId": "550e8400-e29b-41d4-a716-446655440000",
"groupName": "Manga Readers",
"kind": "group"
}
],
"decision": "unrestricted",
"deniedBy": [
{
"ruleType": "sharingTag",
"source": {
"groupId": "550e8400-e29b-41d4-a716-446655440000",
"groupName": "Manga Readers",
"kind": "group"
},
"value": "string"
}
],
"seriesId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"title": "string",
"visible": true
},
"userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"visibleSeriesCount": 0
}