Skip to content

[BUG]System Function like $getAlarms() is limited by User Permission Group #2039

@hesitatenot

Description

@hesitatenot

Describe the bug
System Functions like $getAlarms() can only be executed by admin users

To Reproduce
Steps to reproduce the behavior:

  1. Open the attached project in a Fuxa instance
  2. Create 2 users, one with all permissions (admin/admin), the other with Viewer permission (guest/guest)
  3. Log in as admin, click the button on MainView, and see the number of alarms
  4. Log out and re-login as a guest, click the button on MainView, and see 'N/A'
  5. In the Dev console of the browser, see the following error message
Image

Expected behavior
Make the system functions accessible for all permission groups, or at least clarify the execution permission in the Documentation

Example project
debug_fuxa_project.json

Environment

  • FUXA version: Docker fuxa-pro:1.2.7
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions