Skip to content

dynamic mapping based on role and route #1

Description

@weedkiller

Hello, I am trying your component to link a different script /css if for e.g. user !notInRole... = Manager etc. then I put a different js script.

I was hoping to the scripts in a config xml or JS file, where each role would map to a script path.

for eg.
Mgr role = ShowFullData/withRedHighlight.css ..// and like wise some JS
Analyst = ShowData/withNormalHighlight.css ..//

I like your design, especially the dynamic aspect, How could I achieve this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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