Page 1 of 1

duplicate and exact db and structure

Posted: Wed Aug 18, 2021 11:05 pm
by Mike1961
I made a DB with the fields I need, the lookup I need (Thx kevin) and browsing/editing parameters that are OK to me.
This db is called tasks and I have a selection of people that needs to fill the db
But, it will be easier to filter the db by people. So, each person will create/edit his tasks only.

is it possible to duplicate the entire db and the way data are displayed to obtain several forms almost identical except that it will be filtered directly for the person ?

Directly into phpmyadmin ?

Re: duplicate and exact db and structure

Posted: Thu Aug 19, 2021 12:41 am
by kev1n

Re: duplicate and exact db and structure

Posted: Thu Aug 19, 2021 6:10 am
by Mike1961
Not exactly.
It's a collaborative set of tasks, so everybody should see anybody else tasks, but a user should create or edit his own task, not other's tasks.
In my case, liberally translated, user Luc can see tasks made by himself and Sergio, but when creating (or editing) a task, the field (assignee) should be Luc and nothing else should be allowed.

Re: duplicate and exact db and structure

Posted: Thu Aug 19, 2021 7:34 am
by kev1n
Isn't that exactly what is described in the linked article under "Using the nuLog column"?

Re: duplicate and exact db and structure

Posted: Thu Aug 19, 2021 3:56 pm
by Mike1961
kev1n wrote:Isn't that exactly what is described in the linked article under "Using the nuLog column"?
Yes for editing (creating is also under the same rule ?). But is this a subrule of viewing only his own tasks or is it separate (the code will prevent user to create/edit tasks for others but still be able to view them all) ?

Thank you

Re: duplicate and exact db and structure

Posted: Thu Aug 19, 2021 5:20 pm
by kev1n
"Using the nuLog column" is a separate code and actually it shouldn't be in that article.