Skip to content

Access control configuration #34

@nusje2000

Description

@nusje2000

Based on a solution mentioned in this comment.

There should be a way of guarding routes via a configuration file. The definition of this configuration should look a bit like the way you define security access control within symfony:

nusje2000_feature_toggle:
    access_control:
        - {path: ^/path-1, features: {feature_1: true}} # will only be accessible if feature_1 is enabled
        - {path: ^/path-2, features: {feature_2: false}} # will only be accessible if feature_2 is disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions