Welcome to Geeklog, Anonymous Friday, April 26 2024 @ 04:53 am EDT

Geeklog Forums

Rights & SEC_hasRights


Status: offline

alb3rt

Forum User
Regular Poster
Registered: 10/30/06
Posts: 71
Location:Mexico City
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
 Quote

All times are EDT. The time is now 04:53 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content