473,406 Members | 2,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Design question: Permissions to view

When users are setup in my app, the administrator can restrict the products
that are available for viewing by the user. I have a table, Table 1, that
lists the User Name, Product ID and Viewing Allowed (True/False) for each
product.

But here's the problem. What happens when new products are added?
Administrators don't want to have to go in each time and activate those new
products for viewing.

How do I best handle this? I was thinking about having a checkbox on the user
setup form that says something like "Always allow all products to be viewed
by this user". Then the code could use this to automatically update each
user's viewing permissions.

If this is a good idea, how do I implement it? Create another table that has
User ID and All or Not All in it? If a user is allowed to view All Products,
then the code will show all products, even though Table 1 may not show the
user as having permissions to view each product (because there is currently
no code that updates Table 1 if new products are added to the system).

Advice, suggestions, etc is appreciated.

Thank you.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200605/1
May 13 '06 #1
1 1313
I think you would want to keep a separate table like you have it, which
allows for a many to many relationship between user and product. For easer
management, you could replace user name with group name. Then when adding a
new user, all you would do is add them to a group. When a new product is
added, have the system assign it to the current user's group and to any
administrator groups you want to create.

"rdemyan via AccessMonster.com" <u6836@uwe> wrote in message
news:602d608f60677@uwe...
When users are setup in my app, the administrator can restrict the products that are available for viewing by the user. I have a table, Table 1, that
lists the User Name, Product ID and Viewing Allowed (True/False) for each
product.

But here's the problem. What happens when new products are added?
Administrators don't want to have to go in each time and activate those new products for viewing.

How do I best handle this? I was thinking about having a checkbox on the user setup form that says something like "Always allow all products to be viewed by this user". Then the code could use this to automatically update each
user's viewing permissions.

If this is a good idea, how do I implement it? Create another table that has User ID and All or Not All in it? If a user is allowed to view All Products, then the code will show all products, even though Table 1 may not show the
user as having permissions to view each product (because there is currently no code that updates Table 1 if new products are added to the system).

Advice, suggestions, etc is appreciated.

Thank you.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200605/1

May 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Lefevre, Steven | last post by:
Hey folks - Thanks to everyone who gave input to my concerns. Of course, we don't intend to have the mysql port open to the world. We will have Apache/PHP connect on a unix socket, or to another...
2
by: J.Beaulieu | last post by:
Hi I'll have probably to use sql server soon but prior to that I have a question concerning priviledges and security. Is it possible for someone to do like in access, ie creating a db/table...
1
by: Kelly Prendergast | last post by:
Is there a way to allow users to see the design view of a table without having dbo permissions? Thanks
9
by: sk | last post by:
I have an applicaton in which I collect data for different parameters for a set of devices. The data are entered into a single table, each set of name, value pairs time-stamped and associated with...
6
by: Chris Travers | last post by:
Hi all; I am using PostgreSQL 7.4 on RedHat 9, though I don't think that is important to this problem. I am attempting to write a rule that will check to see whether certain conditions are...
5
by: Simone | last post by:
Hello All. I would like some advice. What is the best way to make an Access database design not accessible? Like accessing tables, form design and etc. Is it a good idea to make a MDE file?...
4
by: Smriti Dev | last post by:
Hi There, I'm creating a MS ACCESS database using Ms Access 2000 to store Interpretation requests by different departments in a hospital and Interpreter availability. All internal departments...
1
by: Griff | last post by:
Hi I'm not sure of the best way to go about achieving my goal and would appreciate any advice. What I would like to do is to generate a control that can be dropped onto a web page. For...
4
by: Ken Fine | last post by:
I've been living with a frustrating issue with VS.NET for some months now and I need to figure out what the problem is. Hopefully someone has run into the same issue and can suggest a fix. I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.