1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Work flow on News Item.

Work flow on News Item.

10 posts, 0 answered
  1. Venkat
    Venkat avatar
    105 posts
    Registered:
    20 Nov 2008
    13 May 2009
    Link to this post

    Hi

    We are using Sitefinity 3.5 version.

    We enabled Work flow on News and it is working fine.

    Here our requirement is ,if the Admin himself posts a new news item.

    The work flow should display the publish button instead of it displaying the Sendfor Approval and then Approve and decline.

    As the Admin himself posting it,I think there is no need of sending it for Approval and then Approving the news item which is waiting for approval.

    can any one please help me.

    thanks Venkat
  2. Venkat
    Venkat avatar
    105 posts
    Registered:
    20 Nov 2008
    15 May 2009
    Link to this post
    I have found one more issues with work flow.

    I have created two roles named as

    Content Creator and Approver.

    content creator to create the news items and Approver to approve or decline the newly created news item and publish it.

    Approver has all permissons .

    but when I am login as Approver and trying to Approve the newly created news item

    The work flow buttons Approve and  decline are disabled.

    How can user in Approver and other than Admin can approve this news item?

    Can any one please help me.

    Thanks
    Venkat
  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    15 May 2009
    Link to this post
    Hi Venkat,

    There is no way out of the box to skip some workflow steps. There is a workaround though.

    You should connect another Sitefinity project (with the same version!) to the same database. In this project, the workflow should be disabled. Then, the Admin logins through the second project. He sees the News items, and publish them without the workflow steps.

    As for the second problem, could you please describe both users and their roles - is the Approver part of more than one role? The Deny permission has higher priority than Allow, so if he resides in a role having Deny, this might be the result you see.

    Greetings,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  4. Venkat
    Venkat avatar
    105 posts
    Registered:
    20 Nov 2008
    15 May 2009
    Link to this post
    Hi George,

    Thank you for your reply

    Here I have only one user in Approvers role and the user involved in only one role, Approvers.

    Approver  has all permissions on news items.

    there are no deny permissions set for this role.

    But the user who has this Approver role not able to Approve this news item.

    Thanks
    Venkat.

  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 May 2009
    Link to this post
    Hi Venkat,

    I am not able to reproduce this problem with the last official release. Could you send us a screenshot of the permissions assigned to Approvers role?

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Venkat
    Venkat avatar
    105 posts
    Registered:
    20 Nov 2008
    19 May 2009
    Link to this post

    Hi Ivan I tried to upload the screen shot , but not able to upload.

    Here I am trying to explain waht I did.

    In news module  command panel there is commad 'Permissions'

    I opened it and then Gave all permissions to the role Approver.

    And The approver role has only one user and the user has only one role 'Approver'.

    I gave all permissions to the Approver role in all sections blogs,Generic content and Global permssions.

    So that the Approver has all permissions that are Admin had. except the role is different.

    Thanks
    Venkat
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    19 May 2009
    Link to this post
    Hi Venkat,

    The problem you have is possible if this user belongs to another role which has different permissions set, you have set permissions over everyone role and your role inherit from there. Could you sent us a link to demo site?

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Venkat
    Venkat avatar
    105 posts
    Registered:
    20 Nov 2008
    19 May 2009
    Link to this post
    Ivan,

    thank you for your reply.

    our site is a local site and can't be accessible from out side.

    Here I have four roles.

    Administrators
    Approvers
    Content Creator
    Every one.

    Content creator will create the content and send it for approval.

    Then the Approver will get an email and opens the news item link.

    Then he is able to Edit the news item but not able to Approve or decline it.

    The buttons are showing but are disabled.

    In our application Admin only able to  approve or decline I dont know why?

    But Approver also has all prmissions Generic permissions,blogs and News and generic content.

    Approver has only one user.The same user invloved in only one role(Approver).

    Thanks Venkat.
  9. Venkat
    Venkat avatar
    105 posts
    Registered:
    20 Nov 2008
    20 May 2009
    Link to this post
    Hi Ivan

    What I observed is Sitefinity is allowing the users  to approve the news items those who are in Administrators  role only.

    So that an Approver should also involved in Administrators role.

    Thanks
    Venkat
  10. Stoyanka Assenova
    Stoyanka Assenova avatar
    113 posts
    Registered:
    01 Dec 2016
    21 May 2009
    Link to this post
    Hello Venkat,

    If you want to use Approve permission you should do the following steps:

    1. Go  to the \Sitefinity\Admin\ControlTemplates\Generic_Content folder 
    2. Open the ControlPanelPermissions.ascx file
    3. Uncomment section for Approve permission

    ******* Uncomment this block when using workflow ********
     <tr>
     <th>
    <asp:Literal runat="server" Text="<%$Resources:Approve %>"></asp:Literal>
    </th>
    <td>
    <asp:CheckBox ID="allowApprove" Text="<%$Resources:Allow %>" runat="server" onclick="CheckBoxHandler(this, this.parentNode.parentNode.getElementsByTagName('input')[1].id)" />
    </td>
    <td>
    <asp:CheckBox ID="denyApprove" Text="<%$Resources:Deny %>" runat="server" onclick="CheckBoxHandler(this, this.parentNode.parentNode.getElementsByTagName('input')[0].id)" />
    </td>
    </tr><tr>
    <th>
    <asp:Literal runat="server" Text="<%$Resources:Publish %>"></asp:Literal>
    </th>
    <td>
    <asp:CheckBox ID="allowPublish" Text="<%$Resources:Allow %>" runat="server" onclick="CheckBoxHandler(this, this.parentNode.parentNode.getElementsByTagName('input')[1].id)" />
    </td>
    <td>
    <asp:CheckBox ID="denyPublish" Text="<%$Resources:Deny %>" runat="server" onclick="CheckBoxHandler(this, this.parentNode.parentNode.getElementsByTagName('input')[0].id)" />
    </td>
    </tr>
    4. Save the ControlPanelPermissions.ascx file

    The same you should do for all modules that you want to use Approve permission.

    If you have any problems, don't hesitate to contact us.

    Best wishes,
    Stoyanka Assenova
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
10 posts, 0 answered