Roles that can only edit content as draft

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.
7/22/2011 10:32:45 AM
Gravatar
Total Posts 75

Roles that can only edit content as draft

I am sorry if this question has been asked before.  I could not find the answer.  As you know when you look at a module's security it has three groups, "Roles that can view this content", "Roles that can edit content", and "Roles that can only edit content as draft".  I am trying to create some modules (right now just inline code until I can get time to create a full featured module to be shared with the community).  While looking at the other modules there is "if (IsEditable)".  How can I tell if they are a edit content or a edit content as draft?

7/22/2011 11:39:25 AM
Gravatar
Total Posts 18439

Re: Roles that can only edit content as draft

Draft Edit roles are for workflow which is currently only implemented in the Html Content feature, so if you want to implement it in a custom feature you should study the code of the Html feature. 

Hope that helps,

Joe

7/25/2011 12:21:35 PM
Gravatar
Total Posts 75

Re: Roles that can only edit content as draft

Thank you for your time Joe and mojoPortal.  I should have known better about looking at the existing code for how-to.  Is it possible to create our own "security" groups for the feature/module?

7/26/2011 9:37:12 AM
Gravatar
Total Posts 18439

Re: Roles that can only edit content as draft

mojoPortal allows you to create roles and to define allowed edit roles at the page level and the feature instance level. 

Hope that helps,

Joe

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