November Happy Hour will be moved to Thursday December 5th.

Publishing Content Without Language Access Rights Check

Vote:
 

The site supports multiple languages, with each language corresponding to specific roles. This setup ensures that users belonging to, for example, 'en-GB' can only create pages in that language.

The issue arises when an user copies a page, as the newly created one is generated in languages for which the user does not have access rights. It appears that the copying process does not respect the language-based security settings. 

#308708
Sep 19, 2023 21:27
Vote:
 

Hi Huy Le,

I am not sure of your question here, however I believe what you are telling us is that the copy functionality does not respect the current users language.

Would that be correct?

Paul

#308825
Sep 21, 2023 8:13
Vote:
 

One option would be to leverage this Extended Content Copy add-on:

https://gregwiechec.com/2021/12/extended-content-copy/

Doesn't look like it's been updated to CMS 12, but the code is here: https://github.com/gregwiechec/extended-content-copy

Another approach would be to customize the behavior on copy -- old code example here: https://world.optimizely.com/forum/developer-forum/CMS/Thread-Container/2016/12/copied-page-automatically-published/

#308832
Sep 21, 2023 18:09
Vote:
 

Huy Le is one of our colleagues in support team. He probably wanted to write a blog post to explain the situation, than ask a question :) 

#308872
Sep 22, 2023 10:12
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.