Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configure Lokalise enterprise SSO, role-based access control, and team management. Use when implementing SSO integration, configuring role-based permissions, or setting up organization-level controls for Lokalise. Trigger with phrases like "lokalise SSO", "lokalise RBAC", "lokalise enterprise", "lokalise roles", "lokalise permissions", "lokalise team".
.claude/skills/jeremylongshore-lokalise-enterprise-rbac/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 66% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 73% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 224% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 96% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 22% | 0% |
Manage fine-grained access to Lokalise translation projects using its built-in role hierarchy, language-level scoping, contributor groups, and organization-level SSO enforcement. Lokalise has four core roles — owner, admin, manager-level (via admin_rights), and contributor (translator/reviewer) — each configurable per project and per language.
LOKALISE_API_TOKEN environment variable set (admin-level token)@lokalise/node-api SDK or curl + jq for REST API accessLokalise uses a flat role model per project, controlled by three boolean flags on each contributor:
| Role | is_admin | is_reviewer | Can translate | Can review | Can manage keys | Can manage contributors | |------|-----------|--------------|--------------|-----------|----------------|----------------------| | Admin | true | true | Yes | Yes | Yes | Yes | | Manager | false | true | Yes | Yes | Limited (via admin_rights) | No | | Reviewer | false | true | Yes | Yes | No | No | | Translator | false | false | Yes | No | No | No |
At the team level, users are either admin or member. Team admins can create projects and manage billing. Team members can only access projects they are explicitly added to.
typescriptimport { LokaliseApi } from '@lokalise/node-api'; const lok = new LokaliseApi({ apiKey: process.env.LOKALISE_API_TOKEN! }); // Add a translator restricted to French and Spanish only await lok.contributors().create(PROJECT_ID, [{ email: 'translator@agency.com', fullname: 'Marie Dupont', is_admin: false, is_reviewer: false, languages: [ { lang_iso: 'fr', is_writable: true }, { lang_iso: 'es', is_writable: true }, ], }]); // Add a reviewer who can review all languages but only translate German await lok.contributors().create(PROJECT_ID, [{ email: 'reviewer@company.com', fullname: 'Hans Mueller', is_admin: false, is_reviewer: true, languages: [ { lang_iso: 'de', is_writable: true }, { lang_iso: 'fr', is_writable: false }, // Can review but not edit { lang_iso: 'es', is_writable: false }, ], }]);
bashset -euo pipefail TEAM_ID="YOUR_TEAM_ID" # List all team members with their roles curl -s -X GET "https://api.lokalise.com/api2/teams/${TEAM_ID}/users" \ -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ | jq '.team_users[] | {user_id: .user_id, email: .email, role: .role}' # Demote a user from admin to member curl -s -X PUT "https://api.lokalise.com/api2/teams/${TEAM_ID}/users/USER_ID" \ -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ -H "Content-Type: application/json" \ -d '{"role": "member"}'
Groups let you assign the same permissions to multiple people at once. When you add a user to a group, they inherit the group's language scope and role across all projects the group is assigned to.
bashset -euo pipefail TEAM_ID="YOUR_TEAM_ID" # Create a group for APAC translators curl -s -X POST "https://api.lokalise.com/api2/teams/${TEAM_ID}/groups" \ -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ -H "Content-Type: application/json" \ -d '{ "name": "APAC Translators", "is_reviewer": false, "is_admin": false, "admin_rights": [], "languages": [ {"lang_iso": "ja", "is_writable": true}, {"lang_iso": "ko", "is_writable": true}, {"lang_iso": "zh_CN", "is_writable": true} ] }' # Add a member to the group GROUP_ID=$(curl -s "https://api.lokalise.com/api2/teams/${TEAM_ID}/groups" \ -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ | jq -r '.groups[] | select(.name == "APAC Translators") | .group_id') curl -s -X PUT "https://api.lokalise.com/api2/teams/${TEAM_ID}/groups/${GROUP_ID}/members/add" \ -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ -H "Content-Type: application/json" \ -d '{"users": [12345, 67890]}' # Assign the group to specific projects curl -s -X PUT "https://api.lokalise.com/api2/teams/${TEAM_ID}/groups/${GROUP_ID}/projects/add" \ -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ -H "Content-Type: application/json" \ -d '{"projects": ["PROJECT_ID_1", "PROJECT_ID_2"]}'
SSO is configured in the Lokalise dashboard, not via API. Map your IdP groups to Lokalise roles:
Engineering-Localization -> AdminTranslators-EMEA -> Contributor group "EMEA Translators"Product-Managers -> ReviewerACS URL format: https://app.lokalise.com/sso/saml/YOUR_TEAM_ID/callback
typescriptimport { LokaliseApi } from '@lokalise/node-api'; const lok = new LokaliseApi({ apiKey: process.env.LOKALISE_API_TOKEN! }); async function auditPermissions() { const projects = await lok.projects().list({ limit: 100 }); const report: Array<{project: string; issue: string; detail: string}> = []; for (const proj of projects.items) { const contributors = await lok.contributors().list({ project_id: proj.project_id, limit: 500, }); // Flag: too many admins const admins = contributors.items.filter(c => c.is_admin); if (admins.length > 3) { report.push({ project: proj.name, issue: 'Excessive admins', detail: `${admins.length} admins: ${admins.map(a => a.email).join(', ')}`, }); } // Flag: contributors with no language scope (can see all languages) const unscopedTranslators = contributors.items.filter( c => !c.is_admin && (!c.languages || c.languages.length === 0) ); if (unscopedTranslators.length > 0) { report.push({ project: proj.name, issue: 'Unscoped contributors', detail: `${unscopedTranslators.length} users can access all languages`, }); } // Respect rate limit await new Promise(r => setTimeout(r, 200)); } console.table(report); return report; } await auditPermissions();
bashset -euo pipefail # Get notified when contributors are added or removed curl -s -X POST "https://api.lokalise.com/api2/projects/${PROJECT_ID}/webhooks" \ -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ -H "Content-Type: application/json" \ -d '{ "url": "https://hooks.company.com/lokalise-audit", "events": [ "project.contributor_added", "project.contributor_deleted", "project.contributor_added_to_language", "project.contributor_deleted_from_language" ] }'
| Issue | Cause | Solution | |-------|-------|----------| | 403 on contributor create | Caller lacks Admin role on the project | Use an admin-level token or get elevated by an Owner | | Translator sees all languages | No languages array set on contributor | Update contributor with explicit language scope array | | SSO login loop | Mismatched ACS URL | Verify ACS URL matches https://app.lokalise.com/sso/saml/TEAM_ID/callback exactly | | Cannot remove Owner | Last owner protection | Transfer ownership to another admin first | | 400 on group create | admin_rights contains invalid values | Valid values: activity, statistics, settings, manage_keys, manage_screenshots, manage_languages, manage_contributors | | Group members don't see project | Group not assigned to the project | Use the groups/projects/add endpoint to link them |
bashset -euo pipefail # Quick CSV export of all contributors and their roles curl -s -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ "https://api.lokalise.com/api2/projects?limit=100" \ | jq -r '.projects[].project_id' \ | while read -r pid; do curl -s -H "X-Api-Token: ${LOKALISE_API_TOKEN}" \ "https://api.lokalise.com/api2/projects/${pid}/contributors?limit=500" \ | jq -r --arg pid "$pid" '.contributors[] | [$pid, .email, (.is_admin|tostring), (.is_reviewer|tostring), (.languages|length|tostring)] | @csv' sleep 0.2 done | sort -t, -k2
For a typical project with 3 languages (en, fr, de):
typescript// Product team: admin access for key management await lok.contributors().create(PROJECT_ID, [{ email: 'pm@company.com', fullname: 'PM', is_admin: true, is_reviewer: true, languages: [], }]); // French translator: only French, translate only await lok.contributors().create(PROJECT_ID, [{ email: 'fr@agency.com', fullname: 'FR Translator', is_admin: false, is_reviewer: false, languages: [{ lang_iso: 'fr', is_writable: true }], }]); // German reviewer: German write + French read-only for reference await lok.contributors().create(PROJECT_ID, [{ email: 'de@agency.com', fullname: 'DE Reviewer', is_admin: false, is_reviewer: true, languages: [ { lang_iso: 'de', is_writable: true }, { lang_iso: 'fr', is_writable: false }, ], }]);
lokalise-debug-bundle to verify access scoping works as expected.lokalise-migration-deep-dive.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-02 | fail→pass | 21,217 | 17,134 | -19% | 1 | 1 | 0% | 3,472 | 5,749 | +66% | 0 | 0 | — |
case-01 | fail→pass | 23,512 | 22,733 | -3% | 1 | 1 | 0% | 3,869 | 6,700 | +73% | 0 | 0 | — |
case-03 | fail→pass | 13,167 | 11,656 | -11% | 1 | 1 | 0% | 1,421 | 4,610 | +224% | 0 | 0 | — |
case-04 | pass→pass | 21,624 | 16,357 | -24% | 1 | 1 | 0% | 3,329 | 5,548 | +67% | 0 | 0 | — |
case-05 | pass→pass | 16,592 | 15,556 | -6% | 1 | 1 | 0% | 2,248 | 4,867 | +117% | 0 | 0 | — |
case-06 | fail→pass | 21,084 | 25,049 | +19% | 1 | 1 | 0% | 3,120 | 6,114 | +96% | 0 | 0 | — |
case-07 | pass→pass | 18,414 | 22,652 | +23% | 1 | 1 | 0% | 3,631 | 5,967 | +64% | 0 | 0 | — |
case-08 | fail→pass | 22,355 | 17,228 | -23% | 1 | 1 | 0% | 4,186 | 5,102 | +22% | 0 | 0 | — |
case-09 | fail→pass | 16,442 | 12,495 | -24% | 1 | 1 | 0% | 2,166 | 4,657 | +115% | 0 | 0 | — |
case-10 | fail→pass | 22,291 | 10,740 | -52% | 1 | 1 | 0% | 3,185 | 4,354 | +37% | 0 | 0 | — |
case-11 | fail→pass | 14,308 | 18,190 | +27% | 1 | 1 | 0% | 2,211 | 5,540 | +151% | 0 | 0 | — |
case-12 | pass→pass | 17,561 | 26,758 | +52% | 1 | 1 | 0% | 3,233 | 6,601 | +104% | 0 | 0 | — |
case-17 | pass→fail | 18,120 | 12,415 | -31% | 1 | 1 | 0% | 2,040 | 4,980 | +144% | 0 | 0 | — |
case-13 | pass→pass | 12,715 | 7,628 | -40% | 1 | 1 | 0% | 1,609 | 4,258 | +165% | 0 | 0 | — |
case-14 | fail→pass | 33,790 | 9,151 | -73% | 1 | 1 | 0% | 5,399 | 4,042 | -25% | 0 | 0 | — |
case-15 | fail→fail | 28,261 | 17,277 | -39% | 1 | 1 | 0% | 3,444 | 5,484 | +59% | 0 | 0 | — |
case-16 | pass→pass | 13,770 | 3,771 | -73% | 1 | 1 | 0% | 1,182 | 3,763 | +218% | 0 | 0 | — |
case-18 | pass→pass | 13,775 | 8,377 | -39% | 1 | 1 | 0% | 1,440 | 4,695 | +226% | 0 | 0 | — |
case-19 | fail→fail | 46,235 | 33,774 | -27% | 1 | 1 | 0% | 7,783 | 8,979 | +15% | 0 | 0 | — |
case-20 | pass→pass | 11,939 | 10,539 | -12% | 1 | 1 | 0% | 2,270 | 5,187 | +129% | 0 | 0 | — |
case-21 | pass→pass | 14,095 | 19,585 | +39% | 1 | 1 | 0% | 1,650 | 5,064 | +207% | 0 | 0 | — |
case-22 | pass→pass | 14,300 | 15,057 | +5% | 1 | 1 | 0% | 1,776 | 5,163 | +191% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +36 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.