# The IT environment

The record Sanka Desk checks before any change: your apps and their admins, approvers, groups and joiner setups. How to draft it, edit it and publish it.

This guide explains the IT environment in Sanka Desk: what it holds, why Desk needs it, and how to draft, edit and publish it. You find it under **Sanka Bot** → **Policy**, where the console calls the published version the published Policy. Only workspace admins can open this page.

## What it is for

The IT environment is the record Desk checks before any change. Three things follow from it:

- Desk plans changes only from a published version. Until the first one is published, any request that needs a change goes to a person. Questions are still answered from your documents.
- A change to anything not listed counts as high risk: an app, a group, a Slack channel, a permission set or an object.
- Desk uses it to answer questions, so it can tell people who runs an app and how to get access.

<Note>
Answers can draw on anything here, for any employee. Don't put anything in it that not everyone should read. Drafts bring in public Slack channels only for this reason.
</Note>

## Draft it

Desk writes a first draft when it starts, from your Sanka members. Once you connect a directory, or whenever your setup changes, draft it again:

1. Open **Sanka Bot** → **Policy** and choose **Generate draft**.
2. Pick the **Sources**: your directory's users and groups, system scans, migration results or your own notes. Notes are required when you include them.
3. Choose **Generate**. The draft appears on the page when it is ready.

Entries your team added stay as they are, and nothing changes until you publish.

If Desk couldn't read part of your directory, the page says what is missing. Fix the connection in **Workspace** → **Integrations**, then generate the draft again.

## Edit it

When the draft differs from the version in use, **Draft** and **In use (Version N)** at the top of the page switch between them. Most sections have **Add** or **Edit**, with a form for that section. **Save to draft** keeps the change in the draft, and Desk goes on using the published version.

Some sections with nothing recorded are grouped under **More you can record**. For **Objects**, **Sanka Flow permission sets** and other fields with no form, **Edit as JSON** under **Advanced** opens the whole draft.

## Publish it

**What publishing changes** lists the draft's changes against the version in use. Check them, choose **Publish**, and confirm. The draft becomes the next version and Desk starts using it at once. Changes Desk planned on the previous version are planned again. **Discard changes** returns the draft to the version in use.

## What each section holds

| Section | What it holds | What it does |
| --- | --- | --- |
| Apps and admins | Your apps, their owners and admins, and who approves access | Desk tells people who runs each app. When someone requests access, it asks the owners if **Who approves access** says **Owner**, hands it to a person if it says **Not managed by Desk**, and otherwise asks your IT approvers |
| Approvers | The people who approve high-impact changes | Fills the IT approver's slot on a change. A high-risk change needs two different people from this list or its delegates. See [Approve a change](/docs/desk/approvals/). |
| Delegates | People who can also approve, with dates | They can approve during those dates |
| Absences | People away, with dates | They aren't asked to approve during those dates |
| Groups | Groups Desk can change the members of | A request for any other group is high risk |
| Joiner standard configurations | What a new joiner gets, by department: groups, licenses, roles, channels | Desk prepares this when someone joins |
| Operating rules | Company rules | Desk refers to them when it answers |
| Slack channels | Channels people can ask to join through Desk. A person adds them | A request for any other channel is high risk |
| Shared drives | Your shared drives | Desk refers to them when it answers. It can't change a drive, so any request for one goes to a person |
| Phone numbers | What a new number costs in each country | Approvers see this on a number request |
| Business cards | Each country's card, how it gets printed and its price | Desk fills in the person's details. Each row says whether a person places the order or the person gets the files and prints them |
| Data flows between apps | How data moves between your apps | Desk refers to them when it answers |
| Organization | Your company name, domains, contract contacts and how new account addresses are built | An invitation to an address on another domain needs your IT approvers' approval |
| Directory | Where people are listed, and how chat sign-in works | Where people are listed is set in **Workspace** → **Integrations**. When SSO is required for a chat app, Desk treats a request from it as coming from a verified person. |
| Departments | Your departments and their managers | Desk refers to them when it answers |
| Organizational units | The units in your directory | For reference when Desk places an account |
| Sanka Flow roles | The roles Desk can assign | Desk can't assign any other role |
| Sanka Flow permission sets | Permission sets Desk can assign | Assigning any other is high risk |
| Objects | Objects Desk can create views on | A request for any other object is high risk |

## Before you publish

- **Approvers.** If nobody is available today, the page warns you, because high-impact changes can't be approved. Name at least two people: a high-risk change needs two different people, and nobody approves a change about themselves.
- **Company domains.** Under **Organization**, list your domains. Desk refuses invitations while none are listed, and an invitation to any other domain needs your IT approvers' approval.
- **New account addresses.** Under **Organization**, choose how Desk builds an address when a request names none, such as first.last@.
- **Joiner standard configurations.** Mark one as the default for joiners nothing else matches. Without one, and with more than one configuration, Desk can't plan a joiner unless the request names a configuration or department that matches.
