Welcome to Geeklog, Anonymous Wednesday, December 25 2024 @ 09:40 am 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
11
7
Quote
All times are EST. The time is now 09:40 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