Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

543 B
Raw Blame
import { TeamRole } from '@prisma/client';

// These roles are added on top of the Super Admin role.
export const DEFAULT_ROLES: Record<string, Partial<TeamRole>> = {
  View: {
    name: 'View',
    canManageTeam: false,
    acl: {
      default_role: 'view',
    },
  },
  Edit: {
    name: 'Edit',
    canManageTeam: false,
    acl: {
      default_role: 'edit',
    },
  },
  Admin: {
    name: 'Admin',
    canManageTeam: true,
    acl: {
      default_role: 'admin',
    },
  },
};

export const DEFAULT_ROLE_POSTFIX = '(built-in role)';