How to allow SiteUser's to edit his pages and childs only

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
12/1/2009 7:19:02 PM
Gravatar
Total Posts 70

Re: How to allow SiteUser's to edit his pages and childs only

Something went wrong JOE. Could not set the role only for one subsite. Don't matter where I add the user to the role (in the main site or in the subsite) he get's content manager in all subsites (including the root site).

Maybe I'm not understanding how this work's ... Any clues?

EDIT: I found that even if I'm in a sub-site, mojoportal set's the role of the "root site" (siteid = 1) and not the "new one" (siteid = 3) created to the site. Maybe it's a bug? Any help would be appreciated ....

12/2/2009 10:40:03 AM
Gravatar
Total Posts 18439

Re: How to allow SiteUser's to edit his pages and childs only

Hi,

It sounds like you have <add key="UseRelatedSiteMode" value="true" /> which makes it share users and roles across all sites. You can either set that to false and then the sites will have independent users and roles and therefore Content Administrators from one site are not also Content Administrators in the other sites. Or, if you do want to share users and roles across sites then you would need to make a role per site and set it as the siteSettings.SiteEditorRoles on each site to enable different editors in each site without making them Content Administrators. With related sites mode enabled then anyone in the Admins Role or Content Admintratorss role can edit anything in any of the sites but users in roles created and attached as SiteEditorRoles can only edit within the specific site.

Hope it helps,

Joe

12/4/2009 3:18:06 PM
Gravatar
Total Posts 70

Re: How to allow SiteUser's to edit his pages and childs only

Thanks Joe.

I guess there's no " way out" other than customizing ... Thanks 4 all the support.

You must sign in to post in the forums. This thread is closed to new posts.