Files
dc/sas/mocks/sas9/sasjs/services/public/getgroups.js
T
dc 7be3f84073
Build / Build-and-ng-test (pull_request) Successful in 6m42s
Lighthouse Checks / lighthouse (pull_request) Successful in 8m57s
Build / Build-and-test-development (pull_request) Canceled after 14m28s
feat(mocks): emit the sas9 services through webout()
The sasjs tree has emitted its responses through the runtime's webout()
since #461; the SAS 9 tree under sas/mocks/sas9/ still assigned every
captured payload to _webout, so its envelope was frozen at the 2022
recording and its values carried the separators a template literal eats.

All 35 services now call webout('OPEN') / webout('OBJ'|'ARR', name, rows)
/ webout('CLOSE'), with the three services that carry column metadata
passing { showmeta } and loading the guard from the new weboutGuard.js.

The payloads come from the captures read as JS produces them, with the
backslashes a template literal silently drops restored: 121 separator
values across 14 services - OMS URIs (OMSOBJ:<Class>\<repo>.<id>),
BUILTIN\Administrators, SAS\sasdemo and D:\... / C:\... paths.
2026-11-04 14:21:44 +00:00

147 lines
4.9 KiB
JavaScript

/* A fixed sample of what the SAS service returns for this screen.
The members are the same shape; the envelope now comes from the runtime. */
webout('OPEN')
webout('OBJ', 'groups', [
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001C',
GROUPNAME: 'BI Dashboard Administrators',
GROUPDESC:
'The members of this group are allowed to administer content for the SAS BI Dashboard product. The SAS Trusted User is made a member during initial deployment.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001D',
GROUPNAME: 'BI Dashboard Users',
GROUPDESC:
'The members of this group are allowed general viewing access of content for the SAS BI Dashboard product.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000P',
GROUPNAME: 'BI Web Services Users',
GROUPDESC: 'Allows members to create and delete SAS BI Web Services.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000T',
GROUPNAME: 'Data Management Administrators',
GROUPDESC: 'Administrative users of the data management environment.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000W',
GROUPNAME: 'Data Management Business Approvers',
GROUPDESC: 'Business approvers of the data management environment.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000V',
GROUPNAME: 'Data Management Business Users',
GROUPDESC: 'Business users of the data management environment.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000Y',
GROUPNAME: 'Data Management Executives',
GROUPDESC: 'Executive users of the data management environment.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000X',
GROUPNAME: 'Data Management Power Users',
GROUPDESC: 'Power users of the data management environment.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000U',
GROUPNAME: 'Data Management Stewards',
GROUPDESC: 'Steward users of the data management environment.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001F',
GROUPNAME: 'Decision Manager Common Administrators',
GROUPDESC: 'Decision Manager Administrative Group'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001G',
GROUPNAME: 'Decision Manager Users',
GROUPDESC: 'Decision Manager Users Group'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A5000021',
GROUPNAME: 'Factory Miner Database Users',
GROUPDESC: ''
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A5000002',
GROUPNAME: 'PUBLIC',
GROUPDESC: 'Everyone who can access the metadata server.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A5000008',
GROUPNAME: 'SAS General Servers',
GROUPDESC:
'Allows members to be used for launching stored process servers and pooled workspace servers.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A5000007',
GROUPNAME: 'SAS System Services',
GROUPDESC:
'Service identities that need access to server definitions or other system resources.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A5000003',
GROUPNAME: 'SASAdministrators',
GROUPDESC: 'Users who perform metadata administrative tasks.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A5000001',
GROUPNAME: 'SASUSERS',
GROUPDESC:
'Everyone who has a metadata identity. SASUSERS is a subset of PUBLIC.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001W',
GROUPNAME: 'SAS_EV_AppServer_Tier',
GROUPDESC: 'SAS Environment Manager App Server Tier Users'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001V',
GROUPNAME: 'SAS_EV_Guest',
GROUPDESC: 'SAS Environment Manager Guests'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001U',
GROUPNAME: 'SAS_EV_Super_User',
GROUPDESC: 'SAS Environment Manager Super Users'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000Q',
GROUPNAME: 'ThemeDesigner Administrators',
GROUPDESC: ''
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000I',
GROUPNAME: 'Visual Analytics Data Administrators',
GROUPDESC: 'Visual Analytics Data Administrators'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A5000013',
GROUPNAME: 'Visual Analytics Users',
GROUPDESC: 'Registered users of SAS Visual Analytics.'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500000J',
GROUPNAME: 'Visual Data Builder Administrators',
GROUPDESC: 'Visual Data Builder Administrators'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001O',
GROUPNAME: 'mdlmgradminusers',
GROUPDESC: 'Administrative Users for Model Manager'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001P',
GROUPNAME: 'mdlmgradvusers',
GROUPDESC: 'Advanced Users for Model Manager'
},
{
GROUPURI: 'OMSOBJ:IdentityGroup\\A59LNVZG.A500001Q',
GROUPNAME: 'mdlmgrusers',
GROUPDESC: 'Limited write access users of Model Manager'
}
])
webout('CLOSE')