Skip to content

How to trigger bulk events messages

Franck edited this page Aug 14, 2019 · 4 revisions

Important background information:

Some Unee-T user roles automatically grant access to several properties in one single click.

These user roles are defined via the Unee-T Enterprise interface. For example, most organizations will define a user role "Country Manager" and will configure this role to automatically grant access to every property for a given country.

We can use this functionality to trigger mass assignation events and generate a lot of association user/unit in a short period. This mechanism is useful to do load testing, for instance.

How it's done:

Option 1 - Pick an existing user:

  1. Delete all permission for that user (this triggers a mass de-assign event),
  2. Switch from the current user role (example "Country Management") to the special user role " Reset Permission"
  3. Switch from the special user role "Reset Permission" back to the initial role for the user you picked (example: "Country management"). This operation will trigger a mass assign event IF the user you picked in Step 2 is a role that automatically assigns properties to users based on their role.

Option 2 - Create a new user:

  1. Create a brand new user.
  2. Pick a role that has been configured to automatically assigned a role to several properties (for example "Country Manager" if this role exists). This operation will also trigger a mass assign event for this newly created user.

Clone this wiki locally