Replies: 3 comments 6 replies
-
Hi, To separate the type of users, you must set user groups or access accesses for each user. Perhaps providing more details, including the structure of the administrator and user tables, or explaining it in more detail, or providing minimal code to understand the issue will help answer your question. |
Beta Was this translation helpful? Give feedback.
-
I perfectly understand the question, because I am facing the same problem. I will try to explain it. Some years ago I made simple CMS on CI4. There is backend for editors, we have articles, pages and list of editors. So there are two dashboards - for admins and for visitors. I would like to separate this two things because of security, I don't want visitors in the same table, as admin accounts etc. When I will have some time, I look at it deeper. |
Beta Was this translation helpful? Give feedback.
-
Any news on this topic? |
Beta Was this translation helpful? Give feedback.
-
Hello, I've search this topic in multiple place but it seem there is no explanation.
in my project, I try to separate user & admin to different models & table. because each have different table schema,
how to achive this using this library?. I'm thinking like "guards" in laravel that have different "providers".
in this library, file
Config/Auth.php
seems only allow 1 userProviders, so I don't know how to do this.or maybe CI4/Shield using different strategy that I'm not aware?, please tell me, thank you.
Beta Was this translation helpful? Give feedback.
All reactions