-
Notifications
You must be signed in to change notification settings - Fork 4
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
Weight option for "Security" Menu tab (Local task menu) #16
Comments
What do you mean by security menu? |
Check the Security menu (or Local task menu ) in tfa_basic.links.task.yml |
Let me try to understand the use case better. The user story would be... As an administrator, I want to be able to set the tab weight on an authenticated user's local tasks Is this correct? One concern that I have is that this is not a "global" setting. Often, this weight value will be user specific. Each user could potentially have a different set of tabs depending on their permissions. I am curious - what happens if you remove the weight from tfa_basic.links.task.yml? Does it append at the end? It might be worth exploring that use case instead of this approach |
Answer to your first question : Yes you are correct. |
OK. I think I get this better now. The module is hardcoding the weight, which does not empower an administrator to move it at their discretion. But, by removing the weight attribute of that link, is an administrator able to override it? Is there something in the menu system that would allow an admin to configure this? If so, we probably do not need this to be configurable. We would just remove the "weight" attribute |
There should be a weight option inside Tfa configuration page for "Security" menu . So that admin can configure the weight of Security menu according to his/her wish. He/She may want to keep this menu just after "Edit" menu or may want atlast. Please suggest so that i can code accordingly.
The text was updated successfully, but these errors were encountered: