agentsclimarketplace

Juicebox enterprise rbac

Skill jeremylongshore/claude-code-plugins-plus-skills/skills/.curated/juicebox-enterprise-rbac

425 plugins, 2,810 skills, 200 agents for Claude Code. Open-source marketplace at tonsofskills.com with the ccpi CLI package manager.

Install
npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill juicebox-enterprise-rbac

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

'Configure Juicebox team access.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.2 KB, as published. Nobody here has run it

Juicebox Enterprise RBAC

Overview

Juicebox provides AI-powered people search and analysis for recruiting and sales teams. Enterprise RBAC controls who can search candidate databases, enrich profiles with contact info, trigger outreach sequences, and export data. Workspace admins manage team seats and API usage limits. Analysts run searches but may be restricted from exporting PII. Viewers can review saved searches without accessing raw contact data. SOC 2 compliance requires audit logging on all data enrichment and export actions.

Role Hierarchy

RolePermissionsScope
Workspace AdminManage seats, billing, API keys, configure integrationsEntire workspace
RecruiterSearch, enrich, access contact info, run outreach campaignsAll datasets
AnalystSearch and enrich profiles, view analytics dashboardsAssigned datasets
SourcerSearch and enrich only, no contact reveal or outreachAssigned datasets
ViewerView saved searches and reports, no data access or exportRead-only

Permission Check

async function checkJuiceboxAccess(userId: string, action: string, datasetId: string): Promise<boolean> {
  const response = await fetch(`${JUICEBOX_API}/v1/workspaces/${WORKSPACE_ID}/permissions`, {
    headers: { Authorization: `Bearer ${JUICEBOX_API_KEY}`, 'Content-Type': 'application/json' },
  });
  const perms = await response.json();
  const user = perms.members.find((m: any) => m.id === userId);
  if (!user) return false;
  const rolePerms = ROLE_PERMISSIONS[user.role];
  return rolePerms?.[action] && (user.datasets.includes(datasetId) || user.role === 'admin');
}

Role Assignment

async function assignWorkspaceRole(email: string, role: string, datasets: string[]): Promise<void> {
  await fetch(`${JUICEBOX_API}/v1/workspaces/${WORKSPACE_ID}/members`, {
    method: 'POST',
    headers: { Authorization: `Bearer ${JUICEBOX_API_KEY}`, 'Content-Type': 'application/json' },
    body: JSON.stringify({ email, role, datasetAccess: datasets }),
  });
}

async function revokeAccess(email: string): Promise<void> {
  await fetch(`${JUICEBOX_API}/v1/workspaces/${WORKSPACE_ID}/members/${email}`, {
    method: 'DELETE',
    headers: { Authorization: `Bearer ${JUICEBOX_API_KEY}` },
  });
}

Audit Logging

interface JuiceboxAuditEntry {
  timestamp: string; userId: string; role: string;
  action: 'search' | 'enrich' | 'contact_reveal' | 'export' | 'outreach' | 'role_change';
  datasetId: string; recordCount?: number; result: 'allowed' | 'denied';
}

function logAccess(entry: JuiceboxAuditEntry): void {
  console.log(JSON.stringify({ ...entry, workspaceId: process.env.JUICEBOX_WORKSPACE_ID }));
}

RBAC Checklist

  • Workspace admin role limited to designated team leads
  • Contact reveal and export restricted to recruiter role and above
  • Dataset access scoped per team to prevent cross-team data leakage
  • API key usage monitored with rate limits per role
  • Viewer role enforced for stakeholders who only need reporting
  • All enrichment and export actions logged for SOC 2 compliance
  • Quarterly access review to remove departed team members

Error Handling

IssueCauseFix
403 on contact reveal endpointUser role lacks contact permissionUpgrade to recruiter role or request admin approval
Export returns empty resultsDataset not assigned to userAdd dataset to user's access list in workspace settings
API rate limit exceededToo many enrichment calls per hourCheck role-based rate limits, batch requests
Saved search not visibleSearch created in different dataset scopeVerify dataset access or share search explicitly
Seat limit reachedAll workspace licenses usedRemove inactive members or upgrade plan

Resources

  • Juicebox Enterprise
  • Juicebox API Docs

Next Steps

See juicebox-security-basics.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.