How to make a link to backend from frontend

Hi people,

I want to make a link to backend app from the frontend navbar but only visible by the admin or the users who have the right to access to it

How can I do that please?

Thank you

http://www.yiiframework.com/doc-2.0/guide-tutorial-advanced-app.html#creating-links-from-backend-to-frontend

I read it thank you

but if possible some explanation, I don’t understand it :unsure:

What exactly?

the last part on how to create the link

it’s not clear for a beginner (like me) how to do it

if you can explain it to me briefly it would be great

thanks

Do you have a problem with adding additional component to config or with calling createUrl()?