Skip to content

System Management

The System Management is an app for employees and system admins to create and manage workspaces on the platform, including apps, products and configuration of the underlying AD.

WARNING

For this app to function, it requires the Alliance Data backend.
Please note that this backend is exclusively accessible to developers from team Alliance.

How to install

  1. Install as developer dependency

    npm install -D @webprovisions-registry/alliance-app-system-management --registry https://registry.webprovisions.io
  2. Add app to your Alliance configuration file.

    ts
    // alliance.config.ts
    import { defineConfig } from '@telia-ace/alliance-framework/config';
    
    export default defineConfig({
        server: {
            apps: ['@webprovisions-registry/alliance-app-system-management'],
        },
    });

Capabilities

No available capabilities.

Managed Objects

currentUser

Object containing information about the current user.

Example

ts
// app.ts
import { queryObjects } from '@telia-ace/alliance-framework';

const query = queryObjects('currentUser');

const currentUser = await query.resolve();

Object Type

PropertyTypeDescription
displayNamestringUsers name
emailstringUsers email address
typestringUser type
objectIdstringUsers AD object id
permissions{ permission: Permission }[]Users permissions
workspaces{ workspace: Workspace }[]Workspaces that the current user has access to

Permission

PropertyTypeDescription
namestringPermission name
app{ name: string }App where the permission originates from

Workspace

PropertyTypeDescription
namestringWorkspace name
slugstringURL friendly workspace name

Query Args

No arguments.

currentWorkspace

Object containing information about the current workspace.

Example

ts
// app.ts
import { queryObjects } from '@telia-ace/alliance-framework';

const query = queryObjects('currentWorkspace');

const currentWorkspace = await query.resolve();

Object Type

PropertyTypeDescription
namestringWorkspace name
slugstringURL friendly workspace name

Query Args

No arguments.