---
title: "oz0 tenant provisioner allow"
description: "Usage and flags for oz0 tenant provisioner allow."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/tenant/provisioner/allow"
---
# oz0 tenant provisioner allow

> Usage and flags for oz0 tenant provisioner allow.

For: Operators and developers looking up a command.

Let provisioner NAME give the tenant's memberships, each up to --up-to (reader, operator, admin or owner; default operator: a role set's role counts by its permissions), and the content permission with --content. It replaces the tenant's earlier allowance for NAME. Audited provisioner.tenant.allow.

## Usage

```bash
oz0 tenant provisioner allow NAME --tenant ID [--up-to ROLE] [--content] [flags]
```

## Flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --content
      </code>
    </td>
    
    <td>
      bool
    </td>
    
    <td>
      
    </td>
    
    <td>
      it may give the content permission too
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --json
      </code>
    </td>
    
    <td>
      bool
    </td>
    
    <td>
      
    </td>
    
    <td>
      print JSON instead of a table
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --tenant
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        the default tenant
      </code>
    </td>
    
    <td>
      the tenant
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --up-to
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        operator
      </code>
    </td>
    
    <td>
      the highest role it may give: reader, operator, admin or owner
    </td>
  </tr>
</tbody>
</table>

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
