Hello ,
I have tried to reproduce your issue , it works fine at my end. you may check this Sample Application
Please provide me details steps to reproduce issue or screenshots , logs of error so that I can better assist you.
Thank you.
hi
We are working on it. Sorry for that.
Hello ,
Please check this https://abp.io/support/questions/7260/ABP-LIC-0023-403-Forbidden-error
Thank you.
Hello,
Please try with this code
export class AppComponent implements OnInit {
constructor(private replaceComponent: ReplaceableComponentsService, private config: ConfigStateService ) {}
ngOnInit(): void {
const currentUser = this.config.getOne("currentUser");
if(currentUser.roles.includes('admin'))
{
this.replaceComponent.add({
component: MySettingsComponent,
key: eThemeLeptonXComponents.Settings,
});
}
}
}
It will hide menu for 'admin' role and for other users it will show. You may customize it as per your requirement.
Thanks,
Hello,
I apologize for the late reply.
You are right that you have the Business license and it includes "full source code of pro application modules", that's why you are able to download the source code for the same. We have developed a module-based structure. You can add any of them as per your requirement and can customize it.
Thanks,
Hello,
Check for the package Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton
in your application and change it to
Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX
along with the appropriate version as per the ABP version.
And then build and run the application.
Thanks,
Hello,
oh is that the case, sorry it's my bad. I will check again and get back to you asap.
Thanks
Hello ,
Please check this https://github.com/abpframework/abp/issues/9828
Thank you.