Welcome to Geeklog, Anonymous Thursday, November 14 2024 @ 12:48 pm EST
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
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
10
7
Quote
All times are EST. The time is now 12:48 pm.
- 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