Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-6738

process-access.json: improve the way authorized roles are defined

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Expired
    • Affects Version/s: OpenIDM 4.5.0
    • Fix Version/s: None
    • Component/s: Module - Authorization
    • Labels:
      None

      Description

      When roles are created in the admin UI, the role "_id" is computed by OpenIDM and thus unknown from the administrator, unless using a REST call after the creation to get the _id value.
      So, the role "_id" value is not obvious to figure out which is a problem when it's required.

      For example, when using the role as an authorization role, the "_id" value of the role must be known in order to define that role (in the process-access.json file) as an authorized role to gain access to a given workflow: the requiresRoles property requires an _id value only, using for example the role name is currently not possible.

        Attachments

          Activity

            People

            Assignee:
            brmiller Brendan Miller
            Reporter:
            cgrosjean Cyril Grosjean
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: