Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Role Based Menu #15

Closed
papyr opened this issue Aug 17, 2020 · 1 comment
Closed

Role Based Menu #15

papyr opened this issue Aug 17, 2020 · 1 comment

Comments

@papyr
Copy link

papyr commented Aug 17, 2020

Hello, can we generate a Role Based Menu option when we configure services.

Also I think we can use this in our template for breacrumbs
This template is much more easier to use than the dotnet boxed or rehans template.

Do you have any suggestions to customizing T4 tempaltes to do scaffolding from table controller and views

thanks

@mo-esmp
Copy link
Owner

mo-esmp commented Aug 18, 2020

Right now it could be done via secure-content tag helper to generate role-based menu:

<secure-content asp-area="" asp-controller="Role" asp-action="Index">
    <li><a asp-area="" asp-controller="Role" asp-action="Index">Role</a></li>
</secure-content>

As you said it's a good idea to implement functionality like breacrumbs for generating a role-based menu. I'm not good at using T4 templates and honestly have no idea about how to do scaffolding from table controller and views.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants