Похожие чаты

What would be the most professional way to allow users? Example:

Employee X can see the dashboard screen and the scheduling screen. Employee Y can see the query screen.

How to organize it in the most professional way? I thought the following form:
They can view all screens, however, if you click on a icon / page that does not have permission, the user will receive a message that has no permission for it.

OR, simply hide all tabs and icons that he doesn't have permission from his Layout.

3 ответов

6 просмотров
Danilo-B Автор вопроса

What's the best way ?

You have to hide pages from menu/sidebar as well as you also need to check when page is being accessed. In Laravel I am using some packages which uses user-role-model mapping.

Both, you have to hide what he don't have permission to see and show a messange if he tried entering a page (he could copy a link or write it at hand) that he don't have permission to enter.

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта