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 ?
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
duplicate and exact db and structure
-
- Posts: 17
- Joined: Wed Aug 11, 2021 7:11 pm
Re: duplicate and exact db and structure
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.
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.
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 446 times
- Contact:
Re: duplicate and exact db and structure
Isn't that exactly what is described in the linked article under "Using the nuLog column"?
-
- Posts: 17
- Joined: Wed Aug 11, 2021 7:11 pm
Re: duplicate and exact db and structure
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) ?kev1n wrote:Isn't that exactly what is described in the linked article under "Using the nuLog column"?
Thank you
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 446 times
- Contact:
Re: duplicate and exact db and structure
"Using the nuLog column" is a separate code and actually it shouldn't be in that article.