Jahia DX > Manage Roles and...

0 (0 Good)
0 (0 Bad)

Manage Roles and Workflow

by  jd »  2011/06/15 14:35

Hi,

I am a bit lost in Jahia 6.5 and I am beginner. Where we define the workflow of a page? Where can I set the permissions of the site?

I see in the documentation 'Administration Guide / Section One: Server Settings' there is an element of the administration menu 'Manage roles' but this menu item is not displayed when I log in with user 'root' in the server settings
? Do you see a reason for this anomaly?

Thanks for help.

Jenny

  (jd)

Number of messages  29
Registration date
0 (0 Good)
0 (0 Bad)

Re: Manage Roles and Workflow

by  robertito »  2011/06/16 08:40

Hi jd,

I'm also a beginner with Jahia 6.5, but I will try to help.

You can define the permissions for each component of the site (each content item in each area). When in edit mode, you can right-click on a component and select "Edit" from the context menu, after that, select tab "Roles" to adjust the roles for users and groups.

While in the Administrator as root you have tab "Server setting -> Manage Users" and tab "Site settings: SITE_NAME -> Manage groups" where you can add/remove users/groups and memberships.

About the workflow, when you modify a page, in "Edit" mode a red dot with a green pencil icon will appear near the page name in the left pane. So, this page can only be seen in Edit or Preview because it is not Live yet. If you right-click on the page in the left pane you can choose "Publish PAGE_NAME" to start the publish workflow so the changes become Live. While in the workflow screen you can start a workflow or bypass it.

Hope this helped.

Regards,
Robert
 

  (robertito)

Number of messages  13
Registration date
0 (0 Good)
0 (0 Bad)

Manage Roles and Workflow

by  jd »  2011/06/17 12:59

Hi,

Robert thank you very much for taking the time to answer me but I'm sorry, because what you write does not help much in that 'manage role' module is missing from the menu 'server setings'. I don't understand why this module is missing. If someone thinks he has an answer to this problem...

For the workflow, I'm searching about where we determine the workflow (no workflow, one step, two steps,...) that wants to assign to a content item. In Jahia 6.0, this could be done within the parameters of the element, but I don't see this feature in JAHIA 6.5.

Thank you for helping me because I'm blocked.

Jenny

 

  (jd)

Number of messages  29
Registration date
0 (0 Good)
0 (0 Bad)

Re: Manage Roles and Workflow

by  faissah »  2011/06/17 21:38

Hi Jenny,

I don't see any reason why you would have the menu "manage roles" missing. Could you provide a screenshot of your Jahia Administration screen? If you check the Jahia log, do you get any exceptions?

Fabrice

 

 

 

Fabrice  (faissah)

Number of messages  262
Registration date

by  cflond »  2011/06/21 11:54

Hello Jenny,

there is an element of the administration menu 'Manage roles' but this menu item is not displayed when I log in with user 'root' in the server settings? Do you see a reason for this anomaly?

Yes there is a reason for that, the version available on Jahia.com doesn't have the Enterprise tools i.e. roles manager, workflow, cluster tools, ... The list of the enterprise tools is available on the pricing page : http://www.jahia.com/cms/home/product/buy-it.html

That's why you are not able to play with roles neither with workflows. Fortunately, you can ask your account manager to get a trial version of enterprise tools. Please contact the French, Swiss or American office depending on your localisation to have more details !

Thanks and enjoy your first days with Jahia 6.5.

Charles

  • 2011/06/21 14:44

    cflond <p> Hello Jenny,</p> <blockquote> <p> <span class="long_text" id="result_box" lang="en"><span class="hps" title="Cliquer ici pour voir d'autres traductions">there</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">is</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">an</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">element</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">of the</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">administration menu</span> <span class="hps atn" title="Cliquer ici pour voir d'autres traductions">&#39;</span><span title="Cliquer ici pour voir d'autres traductions">Manage</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">roles</span><span title="Cliquer ici pour voir d'autres traductions">&#39;</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">but</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">this</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">menu item</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">is not</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">displayed</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">when</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">I log in</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">with</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">user</span> &#39;<span class="hps" title="Cliquer ici pour voir d'autres traductions">root</span>&#39; <span class="hps" title="Cliquer ici pour voir d'autres traductions">in</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">the server settings</span></span><span class="long_text" id="result_box" lang="en"><span title="Cliquer ici pour voir d'autres traductions">?</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">Do you see</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">a reason</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">for</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">this</span> <span class="hps" title="Cliquer ici pour voir d'autres traductions">anomaly</span><span title="Cliquer ici pour voir d'autres traductions">?</span></span></p> </blockquote> <p> Yes there is a reason for that, the version available on Jahia.com doesn&#39;t have the Enterprise tools i.e. roles manager, workflow, cluster tools, ... The list of the enterprise tools is available on the pricing page : http://www.jahia.com/cms/home/product/buy-it.html</p> <p> That&#39;s why you are not able to play with roles neither with workflows. Fortunately, you can ask your account manager to get a trial version of enterprise tools. Please contact the French, Swiss or American office depending on your localisation to have more details !</p> <p> Thanks and enjoy your first days with Jahia 6.5.</p> <p> Charles</p>

  • Number of messages  42
    Registration date Jun 21, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Manage Roles and Workflow

    by  sly »  2011/07/05 15:16

    "Yes there is a reason for that, the version available on Jahia.com doesn't have the Enterprise tools i.e. roles manager, workflow, cluster tools, ... The list of the enterprise tools is available on the pricing page : http://www.jahia.com/cms/home/product/buy-it.html"
     
    Does that mean that the community user can't edit workflow ?
    Didn't it render the all thing useless?
    Is there a workaround ?
     
    Sly

      (sly)

    Number of messages  11
    Registration date
    0 (0 Good)
    0 (0 Bad)

    hi every one

    by  oumina »  2013/06/27 08:38

    i have a question :

     

    how to start process workflow from user interface (client ) by clicking in a button , and that start a workflow ???

    thx

      (oumina)

    Number of messages  6
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re : hi every one

    by  faissah »  2013/06/28 21:09

    Hello,

    Here is the related documentation.

    The publication process is an example of workfow process. Starting a publication will start a workflow.

    Regards,

    Fabrice

     

    Fabrice  (faissah)

    Number of messages  262
    Registration date
    0 (0 Good)
    0 (0 Bad)

    start workflow from a front office of my application exactly like that jahia do in his back office in edition mode

    by  oumina »  2013/06/30 20:47

    i want to start a publication workflow of my article when i clicked on a button publicate in front office, :

     

    reference year article title date statut  
    abc_20009 2013 hi the world hi the world title 01 jun 2013 draft

     

    my form :

     <form action="<c:url value='${url.base}${currentResource.path}.startWorkflowPublication.do'/>" method="post" id="startworkflowPublication">

        <input type="submit" value="publicate"/>

       </form>

     

    a bean spring :

    <bean  class="org.jahia.modules.defaultmodule.StartPublicationWorkflowAction">
          <property name="name" value="startPublicationWorkflowAction"/> 
        </bean>
     
    an action of  jahia :
     
    public class StartPublicationWorkflowAction extends StartWorkflowAction {
        private JCRPublicationService publicationService;
     
        public void setPublicationService(JCRPublicationService publicationService) {
            this.publicationService = publicationService;
        }
     
        public ActionResult doExecute(HttpServletRequest req, RenderContext renderContext, Resource resource,
                                      JCRSessionWrapper session, Map<String, List<String>> parameters, URLResolver urlResolver) throws Exception {
            String process = parameters.get("process").get(0);
            String workflowDefinitionKey = StringUtils.substringAfter(process, ":");
            String providerKey = StringUtils.substringBefore(process, ":");
     
            Map<String, Object> map = getVariablesMap(parameters);
            final LinkedHashSet<String> languages = new LinkedHashSet<String>();
            languages.add(resource.getLocale().toString());
            final List<PublicationInfo> infoList = publicationService.getPublicationInfo(resource.getNode().getIdentifier(),
                                                                                         languages, true, true, false,
                                                                                         resource.getNode().getSession().getWorkspace().getName(),
                                                                                         "live");
            map.put("publicationInfos", infoList);
            workflowService.startProcessAsJob(Arrays.asList(resource.getNode().getIdentifier()), session, workflowDefinitionKey, providerKey, map, null);
            return ActionResult.OK_JSON;
        }
     
    }

    my workflow :

    <process key="publish_aricle" name="publish-article" xmlns="http://jbpm.org/4.4/jpdl">

       <start form="jnt:simpleWorkflow" g="26,30,91,59" name="start">
          <transition g="-24,-18" name="to lock" to="lock"/>
       </start>
    .........</process>
     
    the idea is : when i clicked on button "publisate " , the workflow  "publish_aricle" will  start
     
    thx 
     

      (oumina)

    Number of messages  6
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re : start workflow from a front office of my application exactly like that jahia do in his back office in edition mode

    by  faissah »  2013/07/09 15:14

    Hello,

    This is the correct approach to implement your requirement.

    I haven't tested your peace of code but from what i see it should work a long as you have the correct rights for the user who executes the action.

    Fabrice  (faissah)

    Number of messages  262
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page