[Roles] See Environments but not allowed to deploy on them

pad's Avatar

pad

07 Dec, 2017 04:40 PM

Hi,

I would like to put some roles on my teams to let them deploy their projects on specific environments but not on others (allow on integration but not on production).

Which role(s) I should put ? Maybe create multiple teams ?

Thanks for your answers.

  1. Support Staff 1 Posted by Reece Walsh on 08 Dec, 2017 03:58 AM

    Reece Walsh's Avatar

    Hi Pad,

    Thank you for getting in touch,

    Octopus gives you great control over users and what they can do what in different environments. You can control this by scoping Teams & User Roles to different Projects/Environments. Using a mix of permissions and custom Teams, you are able to create complex permissions to accommodate your goals/requirements.

    Here is a link to our documentation that relates to how you can edit the user permissions on the Octopus server.
    http://docs.octopus.com/display/OD/Managing+users+and+teams

    Below I have also included a link on how you can set up a user with mixed environment permission, the concept, however, can be used for any permission scenario that you require.

    https://octopus.com/docs/guides/user-role-&-teams-configuration...

    As an example, within my environment, I was able to create a User named "Dev Ops" that had full administrator permissions (minus the ability to edit User Roles to prevent the User from manipulating the permissions I put into place) which belonged to a newly created team called "Dev Ops Administrators". The Team "Dev Ops Administrators" was scoped only to my "Testing" environment and not my "UAT" or "Production" environments. As a result, the User was able to create a release and deploy to Testing but was not prompted to deploy to "UAT" or "Production".

    Please be aware, however, using my example the User was also not able to view the Environments outside of the deployment process, so if this is something you still require then this will not work accommodate your scenario.

    I hope this helps!

    If you require any further assistance or clarification please let me know :)

    Kind Regards,

    Reece

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac