Skip to content

Subscriptions for more events for the admins in API #60

@blokhin

Description

@blokhin

The admin users should be able to claim their interest in the general events which do not concern their accounts.

metis-bff/db_seed.js

Lines 322 to 336 in 1dd1a04

db(USER_ROLES_TABLE).insert(
[
{
slug: DEFAULT_USER_ROLE,
label: 'Member',
permissions: {},
},
{
slug: ADMIN_USER_ROLE,
label: 'Admin',
permissions: {},
},
],
['id', 'slug']
),

Such general events are, mainly:

  • new user registrations
  • new data created by anyone
  • new calculation submitted by anyone

@pyoner has suggested to log such events and flush them to the user in the API.
@knopki we should provision this somewhere in the API client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions