CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Wishes

 Implementing Multi Level securety for each user

Print topic Send  topic

Author Message
edpmatrix

Posts: 3
Posted: 08/03/2007, 4:07 AM

I need in my application to have each user assigned to one or more Group Level and I need to discover in the page if a multi-group user is enable to have access to it.

I try to bypass the problem using the securety CCS features deriving from your Function CCUserInGroups(GroupID, GroupsAccess)

the next function

Function CCUserInMultiGroups(GroupID, GroupsAccess)
Dim Result
Dim MyGroupIDArray,MyCnt,MyX
MyGroupIDArray = Split(GroupID, ";", -1, 1)
MyCnt = UBound(MyGroupIDArray)
If NOT IsEmpty(GroupsAccess) Then
for MyX = 0 to MyCnt
Result = NOT (InStr(";" & GroupsAccess & ";", ";" & MyGroupIDArray(MyX) & ";") = 0)
if (Result) then
exit for
end if
next
Else
Result = True
End If
CCUserInMultiGroups = Result
End Function

and calling it instead of the other in CCSecurityAccessCheck.

I thenk it is possible with few change to support this feature in a next release. I think it is possible made a modification in the securety table IDGroup required field if the user check a flag asking for a multi group system.

Another wish, it will be very god if you fid a more visual system for support the frame and the in-line frame that in same cases are very useful to evitate a total reload for complex pages.
:-)
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.