Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-20344

Unable set roles in exist Role via groovy script

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.15.2
    • Fix Version/s: None
    • Component/s: Scripting, Security
    • Labels:
      None

      Description

      Dear Mr or Mrs,

      I have problem set roles in exist Role via groovy script. 

       

      I am sending my source code at the attachment

      I don't see any error in log

      2019-06-26 14:52:11,190+0200 INFO [quartz-3-thread-4] *SYSTEM org.sonatype.nexus.internal.script.ScriptTask - Role AP_GIT_IT-TOOLS_ADMIN exists
      2019-06-26 14:52:11,209+0200 INFO [quartz-3-thread-4] *SYSTEM org.sonatype.nexus.internal.script.ScriptTask - Test default
      2019-06-26 14:52:11,209+0200 INFO [quartz-3-thread-4] *SYSTEM org.sonatype.nexus.internal.script.ScriptTask - Role AP_GIT_IT-TOOLS_ADMIN changed roles to [Nexus KB Deployment, nx-developer]
      20

      Thank you for your help

      Blessinsgs,

      Petr Rocen

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            procen Petr Ročeň
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title