Release Automation

 View Only
  • 1.  ROC - Assign Servers - environment admin needed?

    Posted Feb 10, 2016 08:21 AM

    Hey,

     

    I was just wondering, if anyone else is facing this issue or if this is something because of how we did set up the action.

     

    At the moment we use the "ROC - Assign Servers" action in our pre-deployment, but this action can only be executed if the user has environment admin rights. This hinders us in setting up more detailed permissions, where we for example just allow a couple of user to deploy specific processes in one environment, but of course you always need to run the pre-deployment.

     

    This is our setup:

    10-02-2016 14-19-37.png

     

    Thanks.

    michael



  • 2.  Re: ROC - Assign Servers - environment admin needed?

    Posted Feb 14, 2016 03:53 AM

    Hi Michael

    I just tried the same and manage to assign the servers in pre deployment step while running with user that have permissions only to run releases and release designer in the specific environment. (Tested in V5.5.2-324)

    What was the error message that you get?

    Please make sure the server is already assign to the environment and to the specific server type

    Thanks

    Jacky



  • 3.  Re: ROC - Assign Servers - environment admin needed?

    Posted Feb 15, 2016 01:11 AM

    Hi Jacky,

     

    thanks for testing it on your side. I will try it again asap and let you know the error message.

     

    just to make sure: which version did you use for your testing?

     

    thanks

     

    michael



  • 4.  Re: ROC - Assign Servers - environment admin needed?

    Posted Feb 15, 2016 01:15 AM

    Hi Michael

    I tested in version 5.5.2-324

    Thanks

    Jacky



  • 5.  Re: ROC - Assign Servers - environment admin needed?

    Posted Feb 15, 2016 01:34 AM

    Hi Jacky,

     

    I tried it again with a testuser, which I gave the permissions:

    - Can View Application

    - Can View Design Components

    - Can View Execution Components

    - Release Template Designer

    - Release Designer

    - Can Execute All Processes

    - Can Execute All Releases

     

    When creating the deployment I check the "assign all servers" checkbox (we need this, as we also have server types where all environment servers are included and that are used for general flows)

     

    the error I'm getting directly points to missing permissions:

    error1-15-02-2016 07-26-31.png

     

    although the servers are assigned to the environment:

    error2-15-02-2016 07-27-07.png

     

    As I said, when I'm giving the testuser environment admin rights, everything works.

     

    We're currently running on ROC Version 5.5.2.191

     

    Do you know of any fixes or changes with this action in your version?

     

    Thanks.

     

    best regards

    Michael



  • 6.  Re: ROC - Assign Servers - environment admin needed?
    Best Answer

    Posted Feb 15, 2016 02:07 AM

    I checked 5.5.2-324 fix README file and found the following description:

    "- Fix requirement to be env-admin to be able to assign servers to server type"

    I think this exactly the problem you are facing

     

    Thanks

    Jacky



  • 7.  Re: ROC - Assign Servers - environment admin needed?

    Posted Feb 15, 2016 02:09 AM

    awesome, so there is now definitely the first reason, that we need to upgrade with the next major release.

     

    thanks for checking this jacky!

     

    best regards

    michael