CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 form restriction

Print topic Send  topic

Author Message
kevind

Posts: 251
Posted: 11/30/2006, 1:36 PM

CCS 2.3.x
ASP MS Access
============

Issue: Restricting Forms Actions to Group Levels.....

Highest Level=9, lowest 1 - I have higher inclusive of lower checked.

I have a page where I want ALL to see the contents - therefore the Restricted is checked off (to make sure user is logged in) but, the groups that can see the page are not - allowing all users to see the page.

I have a record form I want all users to see but, only certain users to be able to update
- User levels lower than 5 can read, insert and update (customers adding their own orders)
- User levels higher than 5 can read, insert, update. (staff adding/updating orders)
- Users at group level 5 should have read-only access only - this is because they are 'inside' users as opposed to customers - outside users

Right now it seems I can set security to allow all users to see the page but, the form doesn't react to the security i've set, it displays the update/submit button to group 5 which should only be presented with the 'cancel' button.

Do I have to ditch the 'higher inclusive of lower' and explicitly indicate that the user group has access to the page to get the form based security to work ? If so, real pain - have to revisit all pages and set access one check mark at a time :-@

thanks for any help
Kevin


_________________
thanks
Kevin

======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
View profile  Send private message
peterr


Posts: 5971
Posted: 12/01/2006, 1:54 AM

There are many approaches to most things. In this case you could use the After Initialize event to implement record security as described in the main CCS tutorial, just disable various functions based on the GroupID session variable.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
kevind

Posts: 251
Posted: 12/01/2006, 2:57 AM

yes, as a practice i have been doing that - however, i noticed that CCS had this security feature built in to forms to restrict certain actions based on user login group id......

can you tell me .....

if i set a page to restricted to ensure users login - and have 'higher inclusive of lower' levels checked off in security to make it easy to tag pages as simply restricted.....

Q. am i able to set group level rights to forms on the same page - it doesn't seem to work.

thanks,
kd
_________________
thanks
Kevin

======================
CCS 3.2.x / ASP / MS Access /mySQL / PHP / jQuery / jQuery UI / jQuery Mobile
View profile  Send private message

Add new topic Subscribe to topic   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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