Skip to content

More mapping permissions (per-force) #2950

Description

@IanMayo

The mapping permissions model we have designed [#2931 ] allow a game designer to specify that a player can move items for one force (such as their own), but not others.

We have handled whether to display delete/drag/resize buttons, but we have not restricted which shapes (layers) the control acts upon.

I suspect we need to run some logic after a button is selected. This will check the permissions, and filter which layers are active (selectable) on the plot - according to their properties.forceId. My guess is that we'll do this in the MapControls class, see what the current role can do, then loop through the layers and set them non-interactive as necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions