Status: offline

alb3rt

Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
Hi guys,

I added in the table "gl_features" "test.edit", I created a group "test" and assign "test.edit" finally added a user to the group "test", but fails to validate.

In my script:

if (!SEC_hasRights( 'test.edit' )) {
$display .= "error" //show custom error
exit;
}

It always shows "error", except when Root.
D Web Studio - www.d-webstudio.net