Hi,
From The ASP NET ZERO Power Tools only have 2 Menu Location which is Root and Administration.
- I have created a sub menu name 'Site Codes' by selected Menu Position in 'Root'.
- I have added a Menu call 'VMS' In AppNavigationProvider.
- I manual park the Sub Menu 'Site Codes' Under 'VMS' shown as below:-
).AddItem(new MenuItemDefinition( AppPageNames.Common.SfpSiteCodes, new FixedLocalizableString("VMS"), icon: "flaticon2-box" ).AddItem(new MenuItemDefinition( AppPageNames.Common.SfpSiteCodes, new FixedLocalizableString("Site Code"), url: "App/SfpSiteCodes", icon: "flaticon-more", permissionDependency: new SimplePermissionDependency(AppPermissions.Pages_SfpSiteCodes) ) )
- Is there a way to park the 'Site Codes' Under 'VMS' in the Role Permission Page ?
Thanks.
Regards, Yap
2 Answer(s)
-
0
Hi,
You also need to move permission for
Site Codes
under permission forVMS
in https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Authorization/AppAuthorizationProvider.cs -
1
Hi ismcagdas,
Thank you very much.
Regards, Yap