2 Replies Latest reply on Jun 29, 2011 2:25 PM by Daniel Tharby

    Apply ACL Template to BLPackage object

    Daniel Tharby

      Hey All,

       

      I have a script that is working great, except that i wish to apply an ACL Template to a BLPackage but there are no commands to do so

       

      Both the official and unreleased commands for BLPackage do not have an applyAclTemplate command for BLPackage, which I find very odd.

       

      For instance, at the end of my script after moving the BLPackage to the required folder, I apply the ACL Template to the objects

      Apply ACL Template

      blcli_execute DepotGroup applyAclTemplate "$FLDR/$ENV_TO/$APP_NAME/$CHG_NUM" "VM_Promote From DEV to TEST" false

      blcli_execute JobGroup applyAclTemplate "$FLDR/$ENV_TO/$APP_NAME/$CHG_NUM" "VM_Promote From DEV to TEST" false

      blcli_execute Job applyAclTemplate $JOB_DBKEY2 "VM_Promote From DEV to TEST" false

      blcli_execute Job applyAclTemplate $BTCH_KEY "VM_Promote From DEV to TEST" false

       

      The above works great and a similar command for BLPackage would complete it.

       

      Does anyone know of anyway to achieve this ? it is the last link in my script.


      Cheers

      Dan