Good afternoon, I have a site to do information sharing, and my question right now is how can I share information only for certain users who are chosen by me?
In the database I have User -cc, name, contact, idInfo Info - ID, title, description
Good afternoon, I have a site to do information sharing, and my question right now is how can I share information only for certain users who are chosen by me?
In the database I have User -cc, name, contact, idInfo Info - ID, title, description
It would be interesting to create a table with access permissions (user_permission) in it to link the User id with the pages / folders or information that you want it to have access to! This way the management of this access is simpler! Hope this helps! Good Luck!
Good morning. In my opinion a table ( utilizador_escolhido
) should be created, with the fields ( codigo
, codigo_utilizador
, estado
).
From the moment when a user is chosen, his code is entered in the user_close table and in the status field of that table a value is added.
When you share information, only information for users whose code is in the table ( utilizador_escolhido
) is shared, and the status of that user in that table is 1.
I hope I have helped. Hugs.