Uploaded image for project: 'Opencast'
  1. MH-12976

custom.role.patterns are not longer working

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed and reviewed
    • Affects versions: 5.0
    • Fix versions: 5.2, 6.0
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Activate the custom role pattern in file custom.properties
      # Optional custom roles pattern (regular expression). Roles matching this pattern can be added to ACLs.
      org.opencastproject.security.custom.roles.pattern=^[0-9a-f-]+_(Learner|Instructor)$

      2. Try to add a role with this pattern in the series/events/template ACLs
       
       Actual Results:
       As soon as the pattern does not follow a local defined role it is greyed out and the message "no role found" is shown
       
       Expected Results:
      Accept the role if the role match the pattern and allow to add it to the ACLs
       
       
       Workaround (if any):
       None





      Show
      Steps to reproduce: 1. Activate the custom role pattern in file custom.properties # Optional custom roles pattern (regular expression). Roles matching this pattern can be added to ACLs. org.opencastproject.security.custom.roles.pattern=^[0-9a-f-]+_(Learner|Instructor)$ 2. Try to add a role with this pattern in the series/events/template ACLs    Actual Results:  As soon as the pattern does not follow a local defined role it is greyed out and the message "no role found" is shown    Expected Results: Accept the role if the role match the pattern and allow to add it to the ACLs      Workaround (if any):  None

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              greg_logan Greg Logan
              Reporter:
              langr Ruth Lang
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases