Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2872

add stem name validation like groups

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.5.31
    • None
    • None
    • None

    Description

      olivier salaun

      We use group attribute validator to contrain the group names format as follows :
      group.attribute.validator.attributeName.0=extension
      group.attribute.validator.regex.0=^[a-zA-Z0-9-_.@]+$
      {{group.attribute.validator.vetoMessage.0=Le format du nom de groupe ne respecte pas les contraintes ; les espaces sont interdits}}But his applies to group names only, not stems.We also need to restrict format of stem names.
      I tries this:
      group.attribute.validator.attributeName.1=name
      group.attribute.validator.regex.1=^[a-zA-Z0-9-_.@](:[a-zA-Z0-9-_.@])*$}}It does forbid group creation if the parent stems don't comply to our rules, but still does not restrict stem name format at stem creation time.I did not find mention of{{stem.attribute.validator in the default grouper.base.properties.
      Is there a way to perform that check? (edited) 

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: