Uploaded image for project: 'Publication Task Configuration'
  1. Publication Task Configuration
  2. PUBTSKCONF-5

Revert logic introduced by PUBTSKCONF-2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.1.2
    • 6.1.1
    • None

    Description

      PUBTSKCONF-2 added the ability to check for auto-approve as a subgroup. However, the changes create an issue with the SSO module and tasks which are missing a requestor.

      Revert the changes made in PUBTSKCONF-2. A better approach is to configure a second action which does not call workflow but publishes immediately.

      Workaround
      You can configure another publish action on the pages app which does not call workflow.

      There will be a new publish action in the actionbar called "Approved publish" or something similar. Limit the action by role so that way not all users have access to it.

      Using a decoration:

      subApps:
        browser:
          actions:
            approvedPublish:
              label: Approved publish
              icon: icon-publish
              $type: jcrCommandAction
              command: publish
              catalog: default
              availability:
                writePermissionRequired: true
                access:
                  roles:
                    publisher: publisher
                rules:
                  notDeleted: &notDeleted
                    $type: jcrIsNotDeletedRule
                  isPublishable: &isPublishable
                    $type: jcrPublishableRule
      
          actionbar:
            sections:
              - name: crud
                groups:
                  - name: publish
                    items: !override
                      - name: publish
                      - name: approvedPublish
                      - name: publishRecursive
                      - name: unpublish
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rgange Richard Gange
                rgange Richard Gange
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 0.75h
                      0.75h