RegularUser is a member of the SystemUser group.
The following rule of that object does not work:
If RegularUser.AccessLevel WAS CHANGED TO 'Administrator' AND LoggedInRegularUser.AccessLevel<>'Administrator' Then
REPORT ERROR 'You must be an Administrator to make another user one.'
The part that doesn't work, when I'm logged in as anything but an administrator, is:
LoggedInRegularUser.AccessLevel<>'Administrator'
What is wrong with this?
Instead of getting the error message, the RegualrUser record is created or saved.
Terry
rule problem
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact: