This topic is locked

Date Limited Access to a User Groups Add Pages

5/19/2019 7:14:44 AM
PHPRunner General questions
C
CWDATA author

Hi fellow developers. I would like for a set User Group for someone in another user group to set a "Cut Off" Date. The idea is that if a User from a separate Group try to add new information into the Database via their assigned Add Page they will be prevented from doing so after the "Cut Off" Date and they will receive a message explaining why.

admin 5/21/2019

You can implement BeforeProcess event of the Add page where you can check current user group, cut off date, current date etc and display a message if conditions are not met.
Getting User Group:

https://xlinesoft.com/phprunner/docs/secapi_get_user_group.htm