Open Ramakrishnan-Sathyanarayanan opened 3 years ago
My initial take, The db update criteria is based on the path attribute of the document. Path attribute is same for all the locale pages. Eg: '/' for all the language home pages. This might trigger a permission copy to all the matching path pages every time.
If the above context is valid, should we add a unique identifier to the criteria db filter in the mentioned line?
Permissions tab in Page Settings is updated based on workflowGuid(all locale pages) contradicting to other tabs in the same Page Settings(page specific). There are no note/warning mentioning this and it is kind of misleading provided it is mentioned as "Change the settings of a page.".
I agree that from a UX standpoint it would be better if we made this clear, but all permissions for pages do indeed cascade across all locales, as this allows a significant simplification of the permissions interface: what you can do is a combination of two separate things, what documents you're allowed to edit and what locales you're allowed to edit. That won't be changing, but I agree it would be helpful to document it here for the user editing the page settings, so I'll keep this ticket open with a new title. PRs welcome on this.
Apostrophe 2.102.3
To Reproduce
Step by step instructions to reproduce the behavior:
Expected behavior
Describe the bug
Details
Version of Node.js: 10.24.1
Server Operating System: Amazon Linux 2
Additional context:
Screenshots