mirror of
https://github.com/google/nomulus.git
synced 2025-07-04 10:13:30 +02:00
Generate client id menu dynamically instead of hard coding the mapping from
role to client id. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=218913784
This commit is contained in:
parent
b48061b792
commit
21f706bf24
3 changed files with 7 additions and 29 deletions
|
@ -62,8 +62,7 @@ registry.registrar.ConsoleTestUtil.renderConsoleMain = function(
|
|||
logoutUrl: args.logoutUrl || 'https://logout.url.com',
|
||||
isAdmin: goog.isDefAndNotNull(args.isAdmin) ? args.isAdmin : true,
|
||||
clientId: args.clientId || 'ignore',
|
||||
ownerClientIds: args.ownerClientIds || ['owner'],
|
||||
adminClientIds: args.adminClientIds || ['admin'],
|
||||
allClientIds: args.allClientIds || ['clientId1', 'clientId2'],
|
||||
logoFilename: args.logoFilename || 'logo.png',
|
||||
productName: args.productName || 'Nomulus',
|
||||
integrationEmail: args.integrationEmail || 'integration@example.com',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue