Skip to content

Admin custom menus #4

@BrightShadow

Description

@BrightShadow

The Need
I need this feature to give a possibility to create very specific 3D map objects like lightning, hidden sensors etc. Those objects must be visible and editable only by "admin" user.

A possibility to define custom menus for user role "admin".
The main purpose for that feature is to add special hidden menu for "admin" only, e.g. special set of object used in very specific cases.

  • We need to add a special field in editorSettings of configuration file, called "restrictedTo" that will contain an array of user roles that can only see a specific menu. If this field is missing, menu is always visible, if it is empty - same, but when any role specified, only those roles can see menu
  • Second change is for objects, they should get also additional field "restrictedTo" to set when the object is visible on map.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureNew functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions