Add/Edit Content Only

This forum is primarily for reporting issues about Web Accessibility such as difficulty using mojoPortal with a screen reader or other assistive technology.

Post any feedback here related to improving the accessibility or usability of mojoPortal. As stated in our Accessibility documentation, it is an important goal of the project that both the front-end customer experience and the back end administration and content publishing features be accessible to as many people as possible. Ideally, if you post about problems, we will also be glad to have suggestions on how the problems can be fixed but all constructive feedback on these issues is welcome.

This thread is closed to new posts. You must sign in to post in the forums.
11/25/2008 11:28:55 AM
Gravatar
Total Posts 6

Add/Edit Content Only

One thing I would really like to do is allow a group of people to edit content only.  Specifically to be able to upload and download files, to add entries into a shared calendar. 

In The "Feature Instance settings", I cannot get the "Roles to edit content:" to work at all (the check marks do not stay, and no changes are made in the database table).  And when I set up a "User that can edit content", that user can edit not only the content, but the actual page itself. I don't want any users to be able to change the page - just to add content.

Suggestions?

 

11/26/2008 4:37:34 AM
Gravatar
Total Posts 18439

Re: Add/Edit Content Only

I confirm this as a bug. I fixed it here so it will be fixed in the next release, but you can easily fix it on your copy.

Using a text editor, open the file Web/Admin/ModuleSettings.aspx and look for this:

<asp:CheckBoxList id="authEditRoles" runat="server" EnableViewState="false"></asp:CheckBoxList>

change it by removing the EnableViewState="false" so it should look like this:

<asp:CheckBoxList id="authEditRoles" runat="server" ></asp:CheckBoxList>

After doing that it will keep the role settings and should work as expected.

Best,

Joe

11/26/2008 10:02:46 AM
Gravatar
Total Posts 6

Re: Add/Edit Content Only

Joe...

Beautiful!  It works great now.

Much Appreciated.

 ---

Edit: Joe - I still want to disable the users from being able to edit the content settings.  I don't really need to change the functionality of the ASP pages, if I can just edit the pages to remove the "edit settings for this content instance" link.  Could you point me to where I can pull that out of the ASP pages so end users can upload files, and add calendar entries - but not change any setting for the content instance?

Thanks!

11/27/2008 10:12:36 AM
Gravatar
Total Posts 18439

Re: Add/Edit Content Only

For some features, the module settings are the content (google maps for instance you specify the location in module settings) so there is currently no distinction between being able to edit settings and content. The user who only has edit permission should not be able to change role permissions but they need to be able to set other settings about the content.

If you can help me understand what you don't want them to change and why, I will ponder it for possible future changes.

Best,

Joe

11/27/2008 12:32:46 PM
Gravatar
Total Posts 6

Re: Add/Edit Content Only

Joe...

Thanks...  I really appreciate your replies!

Right now, mojoportal appears to be conceptually a sort of publish and view type model.

What I am testing is the idea of a sort of tellecommuter/remote office, collaborative portal, where an Admin type would create the actual pages and which instances of what content are on them (file upload, calendars, etc...) but EVERY user could add content - such as upload and share files(presentations, documents, etc...) and/or edit a shared calendar such as a vacation calendar, or an events or conference room calendar.  I do not want them to be able to modify, or worse yet - accidentally DELETE an instance of content.

I kludged a solution by changeing edit.gif to a 1 pixel gif so essentially noone can click on the hyperlink to edit the instance (including me :() - but the main idea is to allow people to add content but not modify the instance - The Forums module works this way - and I like that module.

Thanks for taking this into consideration.

 

11/28/2008 5:51:48 AM
Gravatar
Total Posts 18439

Re: Add/Edit Content Only

I do view the main content system as a tool for publishing content for the public facing side of a business. I have a vision for a separate model for "office collaboration" type applications. If you sign into this site and click the "Site Office" link at the top you can see some prototype UI work I did for it. It has resizable drag panels and things that will make for better business app UI than the normal content system.

It has no working apps yet except for a google gears query tool (if you click My Stuff then click SQL you will see it). And actually I have a new plan for this UI that will be even better. Once I get the framework for Site Office finalized I plan to build more apps that are like what you are talking about, group calendaring etc.

Best,

Joe

6/18/2009 7:31:37 PM
Gravatar
Total Posts 4

Re: Add/Edit Content Only

Hi Joe,

We've been using mojoPortal for about a month now, and just love it!  We have actually created a custom application (took longer than a month) but once we found mojoPortal we made it compliant so that we could take advantage of the user administration and rolest etc.  I believe we have a case where it would be nice to have Add/Edit Content Only ability versus both Add/Edit Content and Edit Settings for this Content Instance.  It is not a show stopper for us, but I was searching the forums and thought I would reply to this thread.  Our application has been installed as a Feature to mojoPortal, and we are testing it now.  Roles that can Edit would hopefully just be able to edit/add content to a bunch tables, via our application forms.  Because we plan on (hope to) have multiple installs of our application on individual pages within one install of mojo, we don't really want a client to be able to see the security/role settings of everyone.  We will be adding two new roles for each client, and it looks to me, that although they are shaded, they are still readable.  Plus, in our case, there is really no need for them to be able to change any other settings.

I hope this makes sense.  I know it's been a few months since the last post here, so maybe something new has come to light?  Thanks so much for any feedback.

6/19/2009 6:43:14 AM
Gravatar
Total Posts 18439

Re: Add/Edit Content Only

Hi Laurena,

Many thanks for the beers! Very much appreciated.

In mojoPortal 2.3.0.8 there is a new config setting you can use to hide the General and Security Tabs in module settings from non Admin/ContentAdmin users. If you copy this and put it in you user.config and set it to true it will hide those tabs.

<add key="HideModuleSettingsGeneralAndSecurityTabsFromNonAdmins" value="false" />

so the only visible tab will be Feature Specific settings so if your feature does not define any ModuleSettings there will be nothing there that the user can edit.

I will consider adding a setting for the next release to enable hiding the settings link completely and disabling access to the settings. 

Best,

Joe

7/9/2009 11:14:01 AM
Gravatar
Total Posts 4

Re: Add/Edit Content Only

Hi Joe, we upgraded to mojoPortal 2.3.0.8 and it worked like a charm, thanks! 

My only other concern would be the Delete button still be available.  So although it would be admin types only (for our purposes) that would have access to the edit ability it would be really nice if they didn't have delete ability either.  If they do delete they are in fact deleting their application and all their data, a bit disasterous.  So for our purposes, hiding the settings link completely, would be a really awesome feature/option to have.

Sorry for the late reply I was having trouble logging in with my new openid.

Thanks again!!!

2/3/2010 8:01:01 PM
Gravatar
Total Posts 60

Re: Add/Edit Content Only

Hi Joe,

We're working on our first few Mojo sites and we're finding it an excellent framework with many benefits over the previous non-bespoke systems we've used.

This is just a +1 for the ability to hide the settings  link entirely for users who you would just like to edit the content - not do any configuration.

I'm in the process of setting up a simple demo site for some fairly basic computer users and the settings menu is completely superfluous for them - in fact it will cause great confusion if they accidentally click on it.  It's a shame because the rest of the system can be locked-down so well.

In other IBuySpy based systems (e.g. Rainbow) there's an "Edit Properties" security permission - something like that would be ideal!

Apologies if you're already sorted this out (other than the HideModuleSettingsGeneralAndSecurityTabsFromNonAdmins setting) - but I've not managed to find any other references to it.

All the best,

Ian

 

 

 

2/4/2010 2:35:39 PM
Gravatar
Total Posts 18439

Re: Add/Edit Content Only

Hi Ian,

If you look under Administration > Site Settings > Security > Permissions, there is a setting for "Roles NOT allowed to edit feature instance settings" 

If you define a role and set it there, then you can put users in that role who should not be able to edit settings and they will not see the settings link.

Hope it helps.

Best,

Joe

2/4/2010 6:28:57 PM
Gravatar
Total Posts 60

Re: Add/Edit Content Only

D'oh - and there was I scouring web.config!

Thanks Joe.

Ian

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