Skip to content

Security model#

This page describes the pieces with which Empowerment Center decides who signs in and what they can do: users, roles, privileges and universes. Read it before designing the roles of an installation.

Users#

A user is a person who signs in to ECenter. A user has:

Item What it is
Login The name they sign in with. Unique in the installation, case-insensitive: “MGarcia” and “mgarcia” are the same user. Up to 100 characters, without spaces or invisible characters.
Description Free text, usually the person's name and job title. Up to 100 characters.
Email Optional. It is where notices, subscriptions and alerts reach them. Unique, case-insensitive: two users cannot have the same one.
Password Optional. Without a password, the user can only sign in with the organization's identity provider (SSO).
Status Enabled, Disabled or Locked. Only an enabled user can sign in.
Roles The roles they have. Their privileges come from them.

There are two kinds of users:

  • Local user: created and maintained in ECenter by whoever administers users.
  • User managed by the provider: created, changed and removed by the organization's identity provider through SCIM. Their login, description, email and enablement are decided in the directory; in ECenter they can only be locked and given local roles. See SCIM provisioning.

Statuses#

Status Can sign in Notes
Enabled Yes Counts towards the license's maximum number of users.
Disabled No The normal removal: it keeps their data and can be enabled again.
Locked No The emergency brake. On a managed user, the identity provider cannot lift it: only whoever administers in ECenter can.

Disabling or locking a user immediately closes all their open sessions, and their service credentials stop working while they remain so. What runs on their behalf (scheduled tasks, subscriptions, alerts) does not run either: ECenter only acts on behalf of an enabled user.

Note

ECenter does not lock an account after failed password attempts. Instead, it imposes an increasing delay between attempts (see Sessions and sign-in). The Locked status is always set by a person.

Roles#

A role is a named set of privileges (“Sales reps, North area”, “Metadata design”). Privileges are given to roles and roles to users. A user has the sum of the privileges of all their roles: a role never takes away what another gives.

  • A role's name is unique, case-insensitive.
  • The System administrator role belongs to the system: it cannot be deleted.
  • A role can only be deleted when no user has it.
  • A role can be linked to a group in the identity provider's directory: whoever is in the group receives the role. A linked role cannot be deleted and cannot give System administration.

Privileges#

A privilege is a named permission. Privileges are organized in a tree of folders, which is the one shown in the Roles and privileges tab:

Folder What it contains
Administration/Access The system privileges that open parts of the application: entering the analysis application or the portal, administering the metadata, users, workbooks, the portal or the system, subscribing, watching data and using the API.
Data/structure reading No level defined and the data privileges that protect what can be seen: dimensions, metrics, lists, workbooks, portal pages, external data and universes.
Data/structure editing The generic editing privileges (insert, update and delete records from forms, update a dimension) and the editing privileges created by whoever designs the metadata.

There are two kinds of privileges:

  • System privileges: they come with ECenter, keep the codes of Empowerment Center 7 (EC7) and cannot be created, renamed or deleted. The full list is in the Privilege reference.
  • Data privileges (or user privileges): created by whoever has Metadata administration, in the Security tab of the metadata editor, inside the reading and editing folders. They belong to the whole installation, not to one connection. They are used to protect specific items (“Confidential data”, “Management workbooks”, “North area”).

No level defined#

No level defined (code 0) is the privilege that dimensions, metrics and workbooks not protected by another one have by default. That is why almost every user role includes it: a user without “No level defined” does not see the dimensions or metrics that have no other privilege, nor a workbook with that reading privilege.

System administration#

System administration (code 100099) is the highest-level privilege. Whoever has it also receives all the system privileges (those of the Administration/Access folder, No level defined and the generic editing ones), even if their role does not have them checked.

What it does not receive are the data privileges. A system administrator does not, by being one, see a metric protected with “Confidential data”, nor does a universe stop applying to them: if they need to see it, they need that privilege through one of their roles, like any other user.

What it protects#

System administration implies everything else, so whoever only has User administration cannot give it to anyone, not even to themselves. System administration is required to:

  • give a user a role that includes it, or remove it from them;
  • add it to a role or remove it (the other privileges of that role can be changed by anyone who administers users);
  • change the password, status, login or email of a user who has it, or delete them;
  • link a user who has it with the identity provider, or transfer their link;
  • through SCIM, change the login of a managed user who has it through a local role, or link them again: it is required of the holder of the SCIM credential.

Without it, the screen shows those controls disabled with the reason (“It gives System administration: only whoever has it can give or remove it.”, “They have System administration: only someone who also has it can change their password, their status or delete them.”), and the server responds 403 with the code ADMIN_SYSTEM_REQUIRED (“Only users with System administration can…”).

In addition:

  • It is checked against the current privileges, not those of the session. If someone has just lost System administration, they can no longer exercise it even if their session is still open.
  • Losing it closes their sessions: when the role that gave it is removed from them, when it is removed from their role (if they do not have it through another) or when they are disabled.
  • There is always an administrator left. ECenter does not let an operation leave the installation without any local, enabled user with a password who has System administration; it rejects it with “The operation would leave the system without any enabled user with System administration”. It is the way in if the identity provider fails.
  • The identity provider never gives it: a role that includes it cannot be linked to a directory group.

Universes#

A universe is a condition on a fact table associated with a privilege: whoever has the privilege only sees the rows of that table that meet the condition. It is ECenter's row-level security. Universes belong to each connection and are defined by whoever has Metadata administration.

The rules to keep in mind when designing them:

  • They restrict whoever has their privilege. A user who has none of the privileges with a universe on a table sees all its rows.
  • They add up. If a user has two privileges with a universe on the same table (“North area” and “East area”), they see the rows of both.
  • They propagate through relationships: the universe of a master table (the customers) also limits the rows of its detail tables (those customers' invoices), even if the query does not use the master.

See Security on the data for the details and the examples.

When a change takes effect#

Change When the user notices it
Disabling, locking or deleting them Immediately: their sessions are closed.
Changing their login Immediately: their sessions are closed and they have to sign in with the new login.
Changing or setting their password from Users and roles Immediately: their sessions are closed.
The user changing their own password (Change password… in their account menu) Immediately: their sessions in other browsers are closed; they stay in the one they are using.
Removing System administration from them Immediately: their sessions are closed.
Losing a role that the identity provider gave them Immediately: their sessions are closed.
Giving or removing other roles, or changing the privileges of a role At their next sign-in. Meanwhile they keep the privileges they signed in with.
Any change, for a service credential (API, MCP, SCIM) On the next request: credentials read the holder's privileges on every request.

Tip

If you want a change of roles to take effect right away, ask the user to sign out and back in, or close their session from the operations console (see Operations).

See also#