Uploaded image for project: 'UY'
  1. UY
  2. UY-849

Generation and validation of forms for easier group delegation config

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: v2.8.0
    • Labels:
      None

      Description

      Add buttons under each form in group delegation config:

      • generate new - create a new form with name "PROJECT_GROUP-SUFFIX" and number if there is a form with generated name already. Suffix should be one of : Registration, JoinEnquiry, UpdateEnquiry
      • validate - should show a popup with information on validation warnings, i.e. text with bullets. What to validate is defined below, per form.
      • edit selected - should show regular form editor of the form selected in picker.

      Registration form

      Generation

      • title: Join PROJECT
      • for all collected attributes and identities use mode "from remote IdP else user intput)
      • add attribute params for attribute set as displayed name
      • add attribute params for attributes set in delegation config
      • add identity param for email
      • add group param: 'Select groups:' with expr: 
        PROJECT_PATH/?*/**
      • set logo to the logo from delegation
      • add automation action autoProcess=accept, condition: validCode
      • add automation action addtoGroup PROJECT_PATH, condition: true
      • set default message templates

      Validation

      • check if there is email identity param. Warn if not that it should be in such case set by form profile.
      • check if there is addToGroup with project group. Warn that processed users may not end up in project.
      • check autoprocess with any condition. If missing warn that invited users will need to be manually accepted.
      • check if all user focussed message templates are set.

      Joining enquiry form

      Generation

      • title: Join PROJECT
      • applicable to '/' group
      • add group param: 'Select groups:' with expr as in registration form.
      • set logo to the logo from delegation
      • add automation action autoProcess=accept, condition: validCode
      • add automation action addtoGroup PROJECT_PATH, condition: true
      • set default message templates

      Validation

      • check if there is addToGroup with project group. Warn that processed users may not end up in project.
      • check autoprocess with any condition. If missing warn that invited users will need to be manually accepted.
      • check if all user focussed message templates are set.

      Update enquiry form

      Generation

      • title: Update PROJECT membership
      • applicable to PROJECT_PATH group
      • add group param: 'Select groups:' with expr as in registration form.
      • set logo to the logo from delegation
      • (no message templates)

      Validation

      • check PROJECT_PATH is in applicable groups

       

        Attachments

          Activity

            People

            • Assignee:
              piotrpiernik Piotr Piernik
              Reporter:
              golbi Krzysztof Benedyczak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: