Onboard a New Team Member

Get a new team member fully set up in ADOC with appropriate access - from sending the invitation email to verifying their permissions work correctly.

Real-World Scenario

Situation: Sarah Chen joins your data engineering team on Monday. She needs:

  • Access to ADOC for pipeline monitoring
  • Ability to view production pipelines (but not edit yet)
  • Access to development environment for testing
  • Membership in "Data Engineering" team group

Deadline: Ready before her 9 AM start time

Outcome: Sarah logs in Monday morning, sees her team's pipelines, and can start learning the system.

Prerequisites

  • New hire's work email address
  • Their team/department name
  • Their manager's name
  • Access level needed (viewer, editor, admin)
  • Admin credentials for ADOC

Step-by-Step Workflow

Step 1: Send Invitation Email

Invite the new team member to create their ADOC account.

API Call

Bash
Copy

Request

JSON
Copy

Response

JSON
Copy

Checkpoint: Sarah receives email with invitation link

Pro Tip: Send invitations 1-2 days before start date so users can set up accounts on their own schedule.

Step 2: Wait for Account Creation

The new user clicks the invitation link and creates their account by setting a password.

What happens:

  1. User clicks link in email
  2. User sets their password
  3. User completes profile (optional)
  4. Account is activated

You'll know it's done: User will be listed in the system with status "active"

Step 3: Verify User Was Created

Check that the user's account exists and is active.

API Call

Bash
Copy

Look for in Response

JSON
Copy

Checkpoint: User appears in list with enabled: true

Save this: user-301 - you'll need this ID for the next steps!

Step 4: Assign Additional Groups (If Needed)

If Sarah needs access to multiple teams or projects, add her to additional groups.

API Call

Bash
Copy

Path Parameters:

ParameterTypeRequiredDescription
userIdstringYesThe user ID from Step 3 (e.g., user-301)

Request

JSON
Copy

Response

JSON
Copy

Common Additional Groups:

  • Pipeline Viewers - See all pipelines
  • Dev Environment - Access development resources
  • Dashboard Users - Access to dashboards
  • Read Only - View-only across platform

Step 5: Verify Roles Were Assigned

Check that group memberships automatically granted the correct roles.

API Call

Bash
Copy

Path Parameters:

ParameterTypeRequiredDescription
userIdstringYesThe user ID (e.g., user-301)

Response

JSON
Copy

What to check:

  • User has at least one role
  • Roles match their job function
  • No excessive permissions (like admin access)

Step 6: Set User Attributes (Metadata)

Add organizational metadata for HR tracking and access reviews.

API Call

Bash
Copy

Path Parameters:

ParameterTypeRequiredDescription
userIdstringYesThe user ID (e.g., user-301)

Request

JSON
Copy

Why this matters:

  • Access reviews: Find all users in a department
  • Offboarding: Know who their manager is
  • Auditing: Track when access was granted
  • Compliance: Employment type affects data access

Step 7: Test Access

Have the user (or you, as admin) test that they can actually access what they need.

Test Checklist

Bash
Copy

Success criteria:

  • Can access what they need
  • Cannot access what they shouldn't
  • No error messages about missing permissions

Complete Onboarding Script

For quick copy-paste onboarding:

Bash
Copy

Common Issues & Solutions

Issue: Invitation email not received

Causes:

  • Email in spam folder
  • Typo in email address
  • Email server delay

Solutions:

  1. Check spam folder
  2. Resend invitation with correct email
  3. Manually send invitation link via Slack

Issue: User can't access pipelines

Causes:

  • Missing group assignment
  • Group doesn't have the right role
  • Domain/resource restrictions

Solutions:

  1. Check groups: GET /admin/api/users/:userId
  2. Check roles: GET /authz/api/v1/users/:userId/roles
  3. Check permissions: GET /authz/api/v1/users/permissions?userId=:userId

Issue: User has too much access

Causes:

  • Assigned to wrong group
  • Group has excessive permissions

Solutions:

  1. Remove from incorrect groups
  2. Review group role assignments
  3. Consider creating more granular groups

Bulk Onboarding

Scenario: Onboarding 10+ people at once

See Bulk User Management for:

  • CSV import workflows
  • Batch invitation scripts
  • Template-based onboarding
  • Automation options

APIs Used

  1. POST /admin/api/users/invite-users - Send invitation
  2. GET /admin/api/users/list - Verify user created
  3. PUT /admin/api/users/:userId/assign-groups - Add to groups
  4. GET /authz/api/v1/users/:userId/roles - Check roles
  5. PUT /admin/api/users/:userId - Set attributes
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard