feat: a user may have more than one profile, and may do what any of them may (Marcus, 2026-11-26)
All checks were successful
Build and deploy / Validate source (push) Successful in 8s
Build and deploy / Integration suite on a real stack (push) Successful in 8m1s
Build and deploy / Secret scan and release gate (push) Successful in 8s
Build and deploy / Publish images (push) Successful in 1m32s
All checks were successful
Build and deploy / Validate source (push) Successful in 8s
Build and deploy / Integration suite on a real stack (push) Successful in 8m1s
Build and deploy / Secret scan and release gate (push) Successful in 8s
Build and deploy / Publish images (push) Successful in 1m32s
operators.roles holds every profile, the main one first; permissions, moves, the column order and the machine question are the sum. The operator's machine rules apply only to the moves Operador alone allows, so an Operador who is also Revisor releases any sheet (D-29 does not block, Marcus). Usuários gets "Outros perfis" chips next to the main profile. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -587,7 +587,7 @@ function phoneMenu(){
|
||||
const go=fn=>async()=>{m.close();await fn();};
|
||||
const who=node('div',undefined,'who sheetwho'),words=node('span');
|
||||
const ava=node('span',initialsOf(ME.name||ME.email),'ava');ava.append(node('i',undefined,'pres on'));
|
||||
words.append(node('b',ME.name||ME.email),node('span',(ROLE_NAMES[ME.role]||ME.role)+(myMachine()?', na '+myMachine().name:''),'sub'));
|
||||
words.append(node('b',ME.name||ME.email),node('span',rolesLabel(myRoles())+(myMachine()?', na '+myMachine().name:''),'sub'));
|
||||
who.append(ava,words);
|
||||
// Seções: the tabs that do not fit the bottom bar (canvas Ph2), with the
|
||||
// rail's own icon and name; then the account.
|
||||
|
||||
Reference in New Issue
Block a user