Skip to content

Sub-companies

A root company can have sub-companies. There are at most two levels, so no grandchildren.

Root company (parent_id = NULL)
├── Sub A (parent_id = Root)
├── Sub B
└── Sub C

Only a super admin creates sub-companies: under Admin → Companies with Add Subsidiary or the plus on the main company. Every new company sits under your root company; another independent root company is a separate customer with its own subscription and is not created in the app.

Creating and editing happen in the same side sheet. It has the sections General (name, slug, address, federal state for the public holidays, VAT ID) and Working time rules (this company’s AZG limits, as a table like under AZG settings). A click on a company opens it; the menu in the row offers Edit, Working time rules, on the main company Add Subsidiary, and Delete company. If you close the sheet with unsaved changes, Samado asks first.

A person can be a member of several companies in your tree, with their own role in each. Their account, however, belongs to their primary company (star in the memberships):

  • Editing, deactivating, inviting, resetting 2FA and the personal settings (working time model, working time rules) are up to the admins of the primary company. Admins of another company see the person there but cannot change their account, not even while the person is working in their company.
  • Single sign-on signs a person in only through the provider of their primary company.
  • A super_admin is one for the whole tree. If you take the role away, the person loses it in every company of the tree; it cannot be brought back through another membership.
  • A changed role applies immediately, even if the person is signed in to that company right now.

A super_admin can delete any company in their own company tree, including the root company and the company they are currently using. The only condition: the company must have no sub-companies of its own left (delete the children first).

For safety you must type the company’s slug in the confirmation dialog. If you delete the company you are currently signed in to, you are logged out automatically afterwards.