J
JohnH
Wondering if anyone with experience might be able to point me in the
right direction with this:
I'm designing a database that tracks customers and sales.
Salespeople, managers, admins, and guests will be using the database.
I want to implement a permissions system that will allow the different
groups different levels of access and information on the forms level.
I've created a 'Users' table and a 'UserTypes' table that will manage
users. I also have some tables in the database for Salespeople.
There is, -sometimes-, a relationship between Users and Salespeople.
This is what I don't know how to model.
So let's say John Paul is a salesperson who will be using the database
to enter and track his sales. He is both a salesperson and a user.
He will have permissions to view and edit certain information based on
his User Permissions, but the data he actually views is determined in
part by its relationship to Salesperson, i.e. John Paul the User
should not be able to see Sally May the Salesperson's data.
How would something like this be modeled? I haven't seen inheritance
really used in Access in a way that I intuitively imagine could solve
this problem.
Thank you.
right direction with this:
I'm designing a database that tracks customers and sales.
Salespeople, managers, admins, and guests will be using the database.
I want to implement a permissions system that will allow the different
groups different levels of access and information on the forms level.
I've created a 'Users' table and a 'UserTypes' table that will manage
users. I also have some tables in the database for Salespeople.
There is, -sometimes-, a relationship between Users and Salespeople.
This is what I don't know how to model.
So let's say John Paul is a salesperson who will be using the database
to enter and track his sales. He is both a salesperson and a user.
He will have permissions to view and edit certain information based on
his User Permissions, but the data he actually views is determined in
part by its relationship to Salesperson, i.e. John Paul the User
should not be able to see Sally May the Salesperson's data.
How would something like this be modeled? I haven't seen inheritance
really used in Access in a way that I intuitively imagine could solve
this problem.
Thank you.