Hi all!
I have some problem with SecWin in my Web app. There are few issues that i can't solv.
SecWin security tables in SQL
1. In SecWinRefreshTables method ds_GetUsers(pAppnum,UserQueue,ds_GetUserGroupsToo) don't returm groups.
2. If i add ds_UsersEx(pAppNum,UserGroupQ) in same procedure i can see groups, but without Level and DefaultAccess (the value of both parameters is 0) even if i do:
ds_ope:Level = ds_GetUserProperty(pAppnum,UserGroupQ.Login,ds_ope:SiteLimiter,'Level')
ds_ope:InitialAccess = ds_GetUserProperty(pAppnum,UserGroupQ.Login,ds_ope:SiteLimiter,'DefaultAccess')
3. Manualy add group not work to. I try change the ds_UpdateUser(AppNum,UserDetails,CurrentAction) to:
case CurrentAction
of InsertRecord
x# = ds_InsertUserEx(AppNum,ds_ope:FirstName,' '&ds_ope:FirstName,'',Secwin_UGInitialAccess,0,Secwin_UGLevel,-1)
of ChangeRecord
x# = ds_ChangeUser(AppNum,ds_ope:FirstName,' '&ds_ope:FirstName,ds_ope:Login,0,Secwin_UGLevel,-1)
End
and has no effect.
In SecWinUserGroupForm -- PreInsert, PreUpdate p_web._Trace('Group name 'ds_ope:FirstName&' Access '&Secwin_UGInitialAccess&' Level '&Secwin_UGLevel) all fine.
Please help solv this proplems.