Search code examples
azure-devops-rest-apiazure-devops-extensions

How to create custom security namespace in Azure DevOps extension


According to the official wiki of Azure DevOps REST API, we have abilities to check Permissions for users using security namespaces.

We have an endpoint to check permissions: Permissions - Has Permissions

And we have the list of predefined namespaces: Security Namespaces - Query

Is it possible to add your own security namespaces?


Solution

  • Is it possible to add your own security namespaces?

    I am afraid that there is no such method could create own security namespaces.

    The security namespace in the organization is fixed and cannot be changed.

    Therefore, it is not possible to add custom security namespaces.

    For more detailed about the security namespaces, you can refer to this doc: Security namespace and permission reference for Azure DevOps

    This doc lists all security namespaces lists.