Managing Members

Members are users who have access to your organization. This guide covers inviting team members, managing roles, and handling access.

Member Roles

Teabar uses a simple two-role model:

RoleDescription
AdminFull organization control, member management, billing access
MemberCreate and manage environments, view resources

Admin Capabilities

  • Invite and remove members
  • Change member roles
  • Create and delete projects
  • Access all environments (including others’)
  • Manage organization settings
  • View billing and usage reports
  • Generate organization-wide API keys
  • View audit logs

Member Capabilities

  • Create environments in any project
  • Manage own environments
  • View all environments (read-only for others’)
  • View blueprints and catalog
  • Generate personal API keys
  • Cannot manage members or organization settings

Inviting Members

Via Web Console

  1. Go to Organization Settings > Members
  2. Click “Invite Member”
  3. Enter email address
  4. Select role (Admin or Member)
  5. Optionally add a welcome message
  6. Click “Send Invitation”

The invited user receives an email with a link to join.

Via CLI

# Invite as member (default role)
teactl member invite [email protected]

# Invite as admin
teactl member invite [email protected] --role admin

# With custom message
teactl member invite [email protected] 
  --message "Welcome! You've been invited to access our training environments."

Invitation Expiration

  • Invitations expire after 7 days
  • Resend invitations to generate a new link:
teactl member resend [email protected]

Bulk Invitations

Invite multiple members at once:

# From a file
cat emails.txt | xargs -I {} teactl member invite {}

# Inline
for email in [email protected] [email protected]; do
  teactl member invite $email
done

Viewing Members

Via Web Console

Navigate to Organization Settings > Members to see:

  • Member list with roles and status
  • Pending invitations
  • Last activity timestamps

Via CLI

# List all members
teactl member list

# Filter by role
teactl member list --role admin

# Filter by status
teactl member list --status pending

# Get member details
teactl member get [email protected]

Changing Roles

Promote to Admin

Web Console:

  1. Go to Members list
  2. Click the member’s row
  3. Click “Change Role”
  4. Select “Admin”
  5. Confirm

CLI:

teactl member update [email protected] --role admin

Demote to Member

teactl member update [email protected] --role member

Removing Members

Via Web Console

  1. Go to Members list
  2. Click the member’s row
  3. Click “Remove from Organization”
  4. Confirm removal

Via CLI

# With confirmation
teactl member remove [email protected]

# Skip confirmation
teactl member remove [email protected] --yes

What Happens When a Member is Removed

  • Access revoked immediately - User can no longer access organization resources
  • Environments preserved - Environments created by the user remain in the organization
  • API keys revoked - All API keys for that user in this organization are invalidated
  • Activity history retained - Audit logs and activity records are preserved

Member Activity

Viewing Activity

Web Console:

  • Member profile shows recent activity
  • Audit logs show all member actions

CLI:

# Get member details including activity
teactl member get [email protected]

# View audit logs for a member
teactl activity list --actor [email protected]

Activity Tracking

Member activity tracked includes:

  • Environment operations (create, start, stop, delete)
  • Blueprint changes
  • API key usage
  • Login events
  • Administrative actions

Single Sign-On (SSO)

OIDC Integration

Teabar supports OIDC providers for authentication:

  • Google Workspace
  • Microsoft Azure AD
  • Okta
  • Auth0
  • Keycloak
  • Any OIDC-compliant provider

Configure SSO in Organization Settings > Security.

SSO vs Email Invitations

MethodUse Case
Email InvitationExternal collaborators, contractors
SSOInternal team members with corporate identity

With SSO enabled, users can join via:

  1. Email invitation (explicit)
  2. SSO domain matching (automatic for verified domains)

Best Practices

Access Management

  1. Principle of least privilege - Start with member role, promote to admin only when needed
  2. Regular access reviews - Audit member list monthly
  3. Prompt offboarding - Remove access immediately when someone leaves

Role Assignment Guidelines

Use CaseRecommended Role
Team lead, DevOps engineerAdmin
Developer, QA engineerMember
External contractorMember
Billing/financeAdmin (for billing access)

Security Recommendations

  1. Limit admins - Keep admin count minimal
  2. Use SSO - Centralize authentication where possible
  3. Monitor activity - Review audit logs regularly
  4. Set up alerts - Configure notifications for sensitive actions

Troubleshooting

Invitation Not Received

  1. Check spam/junk folder
  2. Verify email address is correct
  3. Resend invitation: teactl member resend [email protected]
  4. Check if email domain is blocked by organization policy

Cannot Access Resources

  1. Verify membership: teactl member list
  2. Check role permissions
  3. Ensure you’re in the correct organization context
  4. Contact an organization admin

SSO Login Issues

  1. Verify SSO configuration with your IT team
  2. Check that your email domain is configured
  3. Try clearing browser cookies and cache
  4. Contact organization admin to verify your account

See Also

ende