soja-cli 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -151,7 +151,8 @@ export function ProjectsScreen({ active }) {
151
151
  placeholder: 'support_customer, workspace_admin',
152
152
  onSubmit: (rolesInput) => {
153
153
  const allowedRoles = [...new Set(rolesInput.split(',').map((value) => value.trim()).filter(Boolean))];
154
- if (!allowedRoles.length || allowedRoles.some((role) => !/^[A-Za-z0-9][A-Za-z0-9_.:-]{0,63}$/.test(role)))
154
+ // Application role labels may be human-readable (for example, "Super Administrador").
155
+ if (!allowedRoles.length || allowedRoles.some((role) => role.length > 64 || !/^[\p{L}\p{N}][\p{L}\p{N} _.:-]*$/u.test(role) || !/[\p{L}\p{N}]$/u.test(role)))
155
156
  return false;
156
157
  return promptExportPath(sourceIssuer, allowedOrigins, allowedRoles);
157
158
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soja-cli",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Software Operations & Job Assistant",
5
5
  "author": "Enmauel.biz",
6
6
  "license": "SEE LICENSE IN LICENSE",