Skip to content

P6 Core 5.24.18

Release date: Tuesday, 25th of May 2021

Documentation can be found here.

New DSL

Part of the V6 users DSL has been back ported to assist with providing user audit reports for Solar Turbines.

V5 and V6 have now diverged so much it was not possible to simply make V5 rely on a version of b2auth-common (p6auth-common) >= 1.59. (See: https://amalto-jira.atlassian.net/browse/P6CORE-635)

An example of using the new DSL:

users.getAll().forEach{ user ->

    println user.getName()

    user.getPolicies().each {

        def appInstance = it.x
        def permissionSet = it.y

        println '    ' + appInstance.name
        println '        ' + permissionSet.id + ' ' + permissionSet.description + ' ' + permissionSet.permissions
    }
}

Note

The actual type of the user object returned is List<User2_1> and not List<User>. This was necessary to avoid conflicts. (See: com.amalto.b2box.groovy.users.newmodel.core.User2_1.java for details)

New Permission

A new permission has been made available to hide the transaction/workflow-task view action button(s):

  • transactions=hide-detail

When this permission exists, the double click action to open a transaction detail is disabled.

Bug Fixes

  • Typo error in documentation about orglevel