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.
|
|
|
|