This topic is locked

Disable viewing and editing

7/15/2008 7:26:03 AM
ASPRunnerPro General questions
G
GravSV author

Hi there,

is it possible to disable some fields for viewing and editing. I've build a project where some fields are not to be showned for all users. Only users that have rights are able to see that field. I have tried to make a loginpage (what works of course) but I have not the possibility to make some fields viewable or not. The field contains personal info so it is helpfull if I can disable it with a password.

An other possibility is to make a new table in Access that contains the info. If a registred user is clicking (with password) on the field that contains the info a popup shows the info.
Any idea?

J
Jane 7/15/2008

Hi,
unfortunately there is no field level security in the ASPRunnerPro.

As workaround create custom view on the Datasource tables tab, check off different set of fields for main table and view and use main table for registered users and custom view for non-registered users.

You can set up different permissions for table and view on the User group permissions dialog on the Security tab.

G
GravSV author 7/15/2008

Jane,

Thnx so far.
But... You wrote:

As workaround create custom view on the Datasource tables tab, check off different set of fields for main table and view and use main table for registered users and custom view for non-registered users.
This part I understand. I've created a custom view (named Info). Both views are checked off on certain fields.
So far so good....

You can set up different permissions for table and view on the User group permissions dialog on the Security tab.
This part is a bit difficult for me. I had two groups on the User group permissions dialog: <default> and <guest>. How do I setup the permissions for Main table(for guest viewers) and view (for custom view)? Must I create a table in Access? If so how does that works? According to your answer it looks that a extra table is not nessecary. Only <default> and <guest> will do?
Pieter

jfr 7/15/2008

Peter,
You add an additional group in the Admin section of your webtool.

I.e. View, in this group you give the users only View/Print rights.

After doing so, you assign Users to this group.
If you want to maintain 2 groups, default and guests, then give guest users only view rights.

You do this in the same Admin section of your web app.
No need for an additional table. See also the instructions here.
John