CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Simulated "field level" security...

Print topic Send  topic

Author Message
Robert Bullock
Posted: 08/06/2001, 7:32 AM

Hey guys, I am trying to simulate "field level" security in my CodeCharge
app. (Not sure why this isn't implemented out of the box... seems simple in
theory).

My idea is to do a Before Show event which would check for the security
level of the logged in user. If they are above/below a certain level, I want
to dynamically change certain fields to text box or labels. For example, if
I only want people with security level 2 or above to edit a certain field,
when someone with security level 1 visits the "edit" page, they would see a
label for that field instead of a text box so they can't edit it.

Any easy way to do this? Is there some sort of property you can set for a
field, like fieldtype?

Robert

Alexey Alexapolsky
Posted: 08/08/2001, 2:03 AM

You can use field type Label+html checkbox and stuff any
content there depending on your security options , from pure text to
input textboxes

--
Alex

Robert Bullock <robert@upstateis.com> wrote in message
news:9km9pl$7hm$1@news.codecharge.com...
> Hey guys, I am trying to simulate "field level" security in my CodeCharge
> app. (Not sure why this isn't implemented out of the box... seems simple
in
> theory).
>
> My idea is to do a Before Show event which would check for the security
> level of the logged in user. If they are above/below a certain level, I
want
> to dynamically change certain fields to text box or labels. For example,
if
> I only want people with security level 2 or above to edit a certain field,
> when someone with security level 1 visits the "edit" page, they would see
a
> label for that field instead of a text box so they can't edit it.
>
> Any easy way to do this? Is there some sort of property you can set for a
> field, like fieldtype?
>
> Robert
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.