Uploaded image for project: 'atlassian-seraph'
  1. atlassian-seraph
  2. SER-185

Seraph configuration fails when I try to specify more than one group for role-name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • None
    • true

      You should be able to specify multiple role-names by using comma separated values accordingly this example in the documentation:

      <seraph-paths>
          <!-- You can configure any number of path elements -->
          <path name="admin">
              <url-pattern>/admin/*</url-pattern>
      		<role-name>myapp-administrators, myapp-owners</role-name>
          </path>
      </seraph-paths>
      

      However, the user must be part of all roles specified in the configuration since the comma is like a "AND" logic operator.

      This improvement to solely created for the option to change the comma logic to be something like an "OR" semantic instead, which means that an user who is part of the 'myapp-owners' role only like the example above will be correct.

              Unassigned Unassigned
              rgadami Rodrigo Girardi Adami
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                11 years, 46 weeks, 6 days ago