Based on a flag passed to DBMAN I want to create the type of permissions a particular user has access to. Specifically, the type of record he/she can input. The difference in the records is the amount of detail and I propose two forms, a detailed one and a less detailed one for input.
Here's the logic of what I would like to do:
1. User creates an account -- depending on what type of user (passed in from external html) determines level of permissions (similar to guest, author, admin in the default).
2. User logons on with permissions automatically set. If he/she is a detailed user, the detailed add record form appears. If he/she is a less detailed user, the shorter add a record form appears. (note that the underlying structure of the record is identical for both forms -- just the information presented to the user for completion is less detailed for one class than the other).
How do I do this? or is there a better way to accomplish what I wish to do rather than permissions?
The overall objective is to have two classes of users -- with different record adding/viewing/modifying characteristics.
Thanks
Here's the logic of what I would like to do:
1. User creates an account -- depending on what type of user (passed in from external html) determines level of permissions (similar to guest, author, admin in the default).
2. User logons on with permissions automatically set. If he/she is a detailed user, the detailed add record form appears. If he/she is a less detailed user, the shorter add a record form appears. (note that the underlying structure of the record is identical for both forms -- just the information presented to the user for completion is less detailed for one class than the other).
How do I do this? or is there a better way to accomplish what I wish to do rather than permissions?
The overall objective is to have two classes of users -- with different record adding/viewing/modifying characteristics.
Thanks