Hi,
Is it possible to set page permissions on the master site and inherit this to the different language versions of each page?
Best regards, Anders
Hi,
Is it possible to set page permissions on the master site and inherit this to the different language versions of each page?
Best regards, Anders
Hi Anders
If you set the inherit checkbox in control panel, permissions should be inherited as long as they ar the same on language versions. See dump.
Thanks, Nicolai,
So if I have the same permissions set on a language version and update the master, then the language versions will be updated? Or should all other values be the same before it will update language versions?
Best regards, Andes
It compares field by field - so if the language version has the same permissions (xml in the permissions column of the page table), changing the master will override the permissions on the language. Even if i.e. the menutext field (page name) is different.
BR Nicolai
Sounds perfect, but I cannot see where this is updated in Page.vb (and I cannot get the functionality to work): UserManagementPermissions.
I guess it should be updated in this section from Page.vb:
ElseIf Base.ChkBoolean(Base.GetGs("/Globalsettings/Modules/LanguageManagement/InheritPageChanges")) AndAlso Me.Area.IsMaster Then
...
Or should I just disable this setting: InheritPageChanges? As it seems to be updated in the next if-section
Best regards, Anders
Yes, that is the check. It should not be disabled.
What about the template etc. Does it get updated as expected?
Yes, templates are updated, but not UserManagementPermissions, and it seems like this is missing in the code
Hi Nicolai,
Did you have a chance looking at this issue?
Best regards, Anders
Hi Nicolai,
How you found a work around for this or should it not possible to inherit page permissions?
Best regards, Anders
You must be logged in to post in the forum