Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DocumentData#permission has been migrated to Document#ownership for all document types with corresponding changes to CONST.DOCUMENT_OWNERSHIP_LEVELS and the DocumentOwnershipConfig Application #6867

Closed
aaclayton opened this issue Mar 18, 2022 · 0 comments
Assignees
Labels
api Issues related to the API used by Mod Devs data-models Issues related to data models and schema changes ui Issues focused on user interface improvements

Comments

@aaclayton
Copy link
Contributor

Code Changes:

CONST.DOCUMENT_PERMISSION_LEVELS -> CONST.DOCUMENT_OWNERSHIP_LEVELS
DocumentData.schema.permission -> Document.schema.owners
class PermissionControl -> class DocumentOwnershipConfig

Localization Changes:

The following keys were previously in the "PERMISSION.*" namespace.

"OWNERSHIP.Title": "Ownership Configuration",
"OWNERSHIP.NONE": "None",
"OWNERSHIP.LIMITED": "Limited",
"OWNERSHIP.OBSERVER": "Observer",
"OWNERSHIP.OWNER": "Owner",
"OWNERSHIP.DEFAULT": "Default",
"OWNERSHIP.NOCHANGE": "No Change",
"OWNERSHIP.AllPlayers": "All Players",
"OWNERSHIP.HintFolder": "Configure access for all Documents within this Folder. Changes will be applied to all contained Documents, excluding the contents of sub-folders.",
"OWNERSHIP.HintDocument": "Configure access to this specific Document, allowing each User to be assigned a different level of visibility.",
"OWNERSHIP.Configure": "Configure Ownership",

image

@aaclayton aaclayton self-assigned this Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues related to the API used by Mod Devs data-models Issues related to data models and schema changes ui Issues focused on user interface improvements
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant