help.axcms.netAxinom Logo
Save Save Chapter Send Feedback
KB10047: Structure elements are shared between the pages on different sites, even if the users don’t have enough permissions
You could extend your structure elements with an additional parameter which makes the element instances unique to a particular site.

SYMPTOMS

You have a multisite installation of AxCMS.net where editors of one site do not have a read-permissions for any  other site. An Editor adds a structure element A to a page 1 from site 1. Another editor adds the same element with the same parameters to a page 2 from site 2. AxCMS.net might create only one instance of the element and reference it from the both pages. If now, say, the first editor checks out the element, the second editor cannot edit his page because an element there is checked out by another user, in spite of that user does not even know such page exists.

CAUSES

AxCMS.net does not recognize this conflict of rights which can lead to the described situation.

SOLUTION

A possible workaround is, to add to your structure elements an additional parameter which makes the element instances unique to a particular site. It could be a “SiteID” which is populated from the current site from the context. Or even a GUID – an advantage here is that no context is required. A disadvantage of a GUID is – it makes all instances of the element unqiue preventing any sharing of them, even inside the same site.

MORE INFORMATION:

If you really run into problems described here and you would like more details to the approach described unter “Solution” (or you have a different workaround), please contact support@axinom.com and reffer to this article.