PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Pages and Tables RAD
Pages and Tables RAD
Iniciado por Jorge Perez, out., 27 2007 6:02 PM - 2 respostas
Publicado em outubro, 27 2007 - 6:02 PM
When WebDEv RAD create a Page with a table put some buttons as like "Modify" "Delete", etc How can I restric this functions only to authorized user?
Thanks
Publicado em outubro, 29 2007 - 9:35 AM
Hi Jorge,
You can look at GroupWare control, but I'm not sure it works in Webdev.
An other option is to create a 'security control' file having 'access levels' per user per page (or group of pages) and check user's permissions from this file at page initialization time. In pages you can create a group with your update buttons and make this group invisible or visible depending on user's permission.
In page initialization code:
IF SecurityControl.AccessLevel = "ReaOnly" THEN
grpButtonsUpdate..Visible = False
ELSE
grpButtonsUpdate..Visible = True
END

Of course you'll have to maintain this file but you see the concept,
Christian

When WebDEv RAD create a Page with a table put some buttons as like "Modify" "Delete", etc How can I restric this functions only to authorized user?
Thanks
Publicado em outubro, 29 2007 - 3:11 PM
Jorge Perez escribió:
When WebDEv RAD create a Page with a table put some buttons as like "Modify" "Delete", etc How can I restric this functions only to authorized user?
Thanks


Jorge,
Use usergrouware. It works fine.

Saludos :D