Permissions for Custom Roles on Multisite Installation

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
8/27/2010 2:28:16 PM
Gravatar
Total Posts 130

Permissions for Custom Roles on Multisite Installation

Hi Joe,

I've been a really pleased mojoPortal user and appreciate your work.

I'm currently running version 2.3.4.5 MSSQL and have it configured for multiple sites through host names with relatedsitemode turned on. I'm currently only using the html content type.

I've created custom editor roles for each child site from the parent site.  I've applied the permissions to my custom editor roles in Site Settings for the Parent site, and applied the appropriate "Site Editor Role" in the Security setting of the childsites (within the Parent site Admin Site Settings).

Permissions have been granted such as: create root level pages, browse & upload, delete files, edit content and style templates, create users, etc.

When I log into the child site with my custom editor role, the grey admin toolbar on the bottom is randomly different per content page.

For example, on the home page, my options are "Administration, File Manager, and New Page", and then on another root level page they are "Page, list, File Manager, New Page, Edit this Page, Page Settings".  When I look at the per-page permissions to try to see the difference between these two pages, I see that the permissions are identical (read, write, edit).  I want all the content pages to have "Administration, Page list, File Manager, New Page, Edit this Page, Page Settings", especially "Edit this Page" and "Page Settings".  I know the permissions for that are existing, because i can go 'the long way' through: Administration -> Add/Edit Pages -> ThisPage -> Edit -> Edit Settings for This Page.  But that is tedious and confusing for the users who see the expanded options on one content page and not others.

If I were to take a built in Role like "Content Administrator" then I can see all of the options I want (in the grey admin toolbar) across the content portion of the site.  Being that I'm working in RelatedSiteMode I don't want every Joe User ;-) Content Admin to be able to edit accross the child sites.

Any advice you have would be greatly appreciated!

Sincerely,

Beth

8/28/2010 12:47:05 PM
Gravatar
Total Posts 18439

Re: Permissions for Custom Roles on Multisite Installation

Hi Beth,

I confirm this as a bug, for site editors in child sites the page edit and page settings links were not being shown as they should. I was able to reproduce the problem here and have fixed this so it will be fixed in the next release of mojoPortal.

Thanks,

Joe

8/30/2010 9:05:20 AM
Gravatar
Total Posts 130

Re: Permissions for Custom Roles on Multisite Installation

Hi Joe!

Thanks very much for the prompt response and fix of the issue!  When you say 'next release', does that mean the next stable, compiled release, or the next release of the source code?  Not sure where I should nab it from ;-)

Again, thanks for the help.

Best,

Beth

8/31/2010 6:33:55 AM
Gravatar
Total Posts 18439

Re: Permissions for Custom Roles on Multisite Installation

Hi Beth,

I generally try to keep the default branch of source code stable at all times, so if you get the latest code from the repository this feature is implemented.

I only make "releases" of pre-compiled packages, people can always download the latest source code or any previous change set from our codeplex page, but I recommend getting the very latest code using TortoiseHG.

So anyone comfortable building their own deployment package can get the latest code and features at any time without waiting for official releases. Those who are not able to do this must wait for me to make an official release which typically happens once a month and sometimes more frequently.

Best,

Joe

10/26/2010 2:44:02 PM
Gravatar
Total Posts 130

Re: Permissions for Custom Roles on Multisite Installation

Hi Joe,

I'm posting here as it seems to be a similar issue as the one we discussed above.  I'm currently running on V 2.3.5.3 MSSQL multi-site mode.  I've got 8 sites, each with separate custom Site Editor Roles.  The permissions are all the same:

  • can create root level pages
  • can browse/upload (not to a specific folder)
  • can delete using the file browser
  • all other permissions left blank

On 3 of the 8 sites there is not an "Administration" link present on any page. Instead I get Page List, File Manager, New Page, Edit this Page, Page Settings.  The issue with this is not being able to access the Content Manager, Advanced Tools, and other items.  I know that the permissions are acceptable because using a Site Editor role, I am able to still access the Administrative Pages by clicking "Page List" and then clicking the "Administration Menu" link from that page. 

On a side note I also had an issue today with one of those 3 sites and publishing drafts.  I had several pages that mojoPortal thought were published (showed them as published in the Content Manager and also in the Edit mode [WYSIWYG]) but they were not published at all (when we logged out they were no longer visible).  I check Page Settings (for "Draft" mode), Feature Instance Settings ("All" users can view content) and there were no permission limitations on the content. I ended up having to re-create the content as new HTML modules at which point I could publish them.  I've tried recreating this both on the live and test environments and have not been able to re-produce it, so I guess it's a fluke, although I thought I'd mention it in the event you have also experienced it.

My main concern is the lack of the Administration link on some of the sites.  Any advice/input you have to offer would be greatly appreciated.

Best,

Beth

11/3/2010 1:00:38 PM
Gravatar
Total Posts 130

Re: Permissions for Custom Roles on Multisite Installation

Hi Joe,

I was wondering if you had the chance to look into this or if you have experienced this yourself lately?

Best wishes,

Beth

11/3/2010 1:23:50 PM
Gravatar
Total Posts 18439

Re: Permissions for Custom Roles on Multisite Installation

No I have not. If there were clear steps to produce the problem I would look into it sooner but really this is some trial an error kind of work to see if I can produce the problem you report. 

As you say it works correctly in some sites it is hard for me to imagine why it would not work in all sites. It seems more likely that there is some configuration difference between them.

and the second problem you say you could not reproduce.

If you can isolate steps to produce the issue(s) I would look into it sooner but it is kind of a wild goose chase without that and I am so busy it is difficult to choose this one over other things to look into on my list since it could take a lot of time trying to produce it an no-one else is reporting it.

Are your sites based on host names or folders, you mention site editor roles so I guess you are using related sites mode?

any and all information to help produce the problem can make it easier for me to replicate it and if I can replicate it it will get fixed quickly

I want to help but I also want to avoid spending a lot of time and then finding out I could not produce the problem. I have reviewed the code and the logic looks correct to me and seems to work correct at least in 5 of your 8 sites, so I'm not optimistic that I can produce this problem.

Best,

Joe

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