Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 10:32 pm EST
Geeklog Forums
Privileges help please
Status: offline
solomon
Forum User
Newbie
Registered: 10/15/04
Posts: 8
OK - still pretty new to GL so bear with me
1) I've made a group who can only post to stories and events. I've called this group CMTusers
2) I've made a second group called CMTadmin which has privs to access stories, events, users and static pages
3) When a CMTuser posts a story/event and forgets to check the 'group edit' box at the bottom, everyone else in the CMTuser group cannot edit the story/event. However, I want the CMTadmin group to be able to edit it.
4) I do not seem to be able to achieve point (3) regardless of which check boxes I poke at - if 'group edit' is not checked by CMTuser then neither CMTuser or CMTadmin can edit the story.
5) Obviously, if I log on as main admin I can edit anything and everything.
Clearly, I don't want to give anyone root access apart from myself. Can anyone tell me what I should do to be able to achieve this set up as I'm sure it must be possible and I just haven't quite got my head round setting the permissions yet.
Ta very much all
1) I've made a group who can only post to stories and events. I've called this group CMTusers
2) I've made a second group called CMTadmin which has privs to access stories, events, users and static pages
3) When a CMTuser posts a story/event and forgets to check the 'group edit' box at the bottom, everyone else in the CMTuser group cannot edit the story/event. However, I want the CMTadmin group to be able to edit it.
4) I do not seem to be able to achieve point (3) regardless of which check boxes I poke at - if 'group edit' is not checked by CMTuser then neither CMTuser or CMTadmin can edit the story.
5) Obviously, if I log on as main admin I can edit anything and everything.
Clearly, I don't want to give anyone root access apart from myself. Can anyone tell me what I should do to be able to achieve this set up as I'm sure it must be possible and I just haven't quite got my head round setting the permissions yet.
Ta very much all
11
12
Quote
Status: offline
solomon
Forum User
Newbie
Registered: 10/15/04
Posts: 8
Cheers Dirk.
However, as far as I'm aware I have set the topic permissions correctly - unless I just completely haven't got to grips with the access privs yet (which is quite likely)
I'll reword my enquiry...
When someone posts a story and does not check the group edit box, is it possible to set up another user who can edit that story without being given root privs? If so, how so?
I've been poking at this one for ages now and I feel like I've tried every permutation. I'm afraid I just don't seem to be able to extrapolate the FAQ page to fit my requirements properly .
If anyone can give me a few specific instructions it would be greatly appreciated -
thanks all
However, as far as I'm aware I have set the topic permissions correctly - unless I just completely haven't got to grips with the access privs yet (which is quite likely)
I'll reword my enquiry...
When someone posts a story and does not check the group edit box, is it possible to set up another user who can edit that story without being given root privs? If so, how so?
I've been poking at this one for ages now and I feel like I've tried every permutation. I'm afraid I just don't seem to be able to extrapolate the FAQ page to fit my requirements properly .
If anyone can give me a few specific instructions it would be greatly appreciated -
thanks all
10
21
Quote
Status: offline
grizel
Forum User
Newbie
Registered: 11/18/04
Posts: 4
Yes i am seeing a number of other queries abotu this very thing, and 95% of th em were never answered, this is exactly what I need too. HOW TO SET GROUP EDIT ON across the board???
And links admins cannot admin links, what good is that? They can only admin th ier own links and any user can do that. Certainly there is a fix wether it's DB based or code.
Please people have been asking for a year! Just no one has answered it yet!
And links admins cannot admin links, what good is that? They can only admin th ier own links and any user can do that. Certainly there is a fix wether it's DB based or code.
Please people have been asking for a year! Just no one has answered it yet!
13
12
Quote
grizel
Anonymous
I figured it out...
Story.php
$A['sid'] = COM_makesid();
$A['show_topic_icon'] = 1;
$A['uid'] = $_USER['uid'];
$A['unixdate'] = time();
$A['commentcode'] = $_CONF['comment_code'];
$A['postmode'] = $_CONF['postmode'];
$A['statuscode'] = 0;
$A['featured'] = 0;
$A['owner_id'] = $_USER['uid'];
$A['group_id'] = DB_getItem ($_TABLES['groups'], 'grp_id',
"grp_name = 'Story Admin'");
$A['perm_owner'] = 3;
$A['perm_group'] = 2;
$A['perm_members'] = 2;
$A['perm_anon'] = 2;
$access = 3;
$A['perm_group'] = 2;
In links I did that but also on my links I set the $access to 5 for editing... 5 removes the pop up list of groups for choosing and LOCKs it. It now has a static "Links Admin" for the group access.
Link.php
if ($mode == 'editsubmission') {
$result = DB_query ("SELECT * FROM {$_TABLES['linksubmission']} WHERE lid = '$lid'");
$A = DB_fetchArray($result);
}
$A['hits'] = 0;
$A['owner_id'] = $_USER['uid'];
$A['group_id'] = DB_getItem($_TABLES['groups'],'grp_id',"grp_name = 'Link Admin'");
$A['perm_owner'] = 3;
$A['perm_group'] = 2;
$A['perm_members'] = 2;
$A['perm_anon'] = 2;
$access = 3;
$A['perm_group'] = 2; $access = 3;
Works the same on the other areas as wll, just have to set all your old stories and links "perm_group" fields to 3 , I did it in phpadmin, which I hate using but saved time.
Story.php
Text Formatted Code
} elseif ($mode == 'edit') {$A['sid'] = COM_makesid();
$A['show_topic_icon'] = 1;
$A['uid'] = $_USER['uid'];
$A['unixdate'] = time();
$A['commentcode'] = $_CONF['comment_code'];
$A['postmode'] = $_CONF['postmode'];
$A['statuscode'] = 0;
$A['featured'] = 0;
$A['owner_id'] = $_USER['uid'];
$A['group_id'] = DB_getItem ($_TABLES['groups'], 'grp_id',
"grp_name = 'Story Admin'");
$A['perm_owner'] = 3;
$A['perm_group'] = 2;
$A['perm_members'] = 2;
$A['perm_anon'] = 2;
$access = 3;
$A['perm_group'] = 2;
In links I did that but also on my links I set the $access to 5 for editing... 5 removes the pop up list of groups for choosing and LOCKs it. It now has a static "Links Admin" for the group access.
Link.php
Text Formatted Code
} else {if ($mode == 'editsubmission') {
$result = DB_query ("SELECT * FROM {$_TABLES['linksubmission']} WHERE lid = '$lid'");
$A = DB_fetchArray($result);
}
$A['hits'] = 0;
$A['owner_id'] = $_USER['uid'];
$A['group_id'] = DB_getItem($_TABLES['groups'],'grp_id',"grp_name = 'Link Admin'");
$A['perm_owner'] = 3;
$A['perm_group'] = 2;
$A['perm_members'] = 2;
$A['perm_anon'] = 2;
$access = 3;
$A['perm_group'] = 2; $access = 3;
Works the same on the other areas as wll, just have to set all your old stories and links "perm_group" fields to 3 , I did it in phpadmin, which I hate using but saved time.
9
13
Quote
grizel
Anonymous
Not logged in and it ate my code...
This is what I was saying: with the above, if someone with edit powers would like to fix that...
$A['perm_group'] = 2;
$access = 3;
This is what I was saying: with the above, if someone with edit powers would like to fix that...
$A['perm_group'] = 2;
$access = 3;
12
13
Quote
grizel
Anonymous
Again, I guess it just doesn't liek pointy brackets... ok here we go!
$A['perm_group'] = 2; -- Set to 3 to Group EDIT check box ON by default
$access = 3; -- Set to 5 to remove pop up of group access choices
$A['perm_group'] = 2; -- Set to 3 to Group EDIT check box ON by default
$access = 3; -- Set to 5 to remove pop up of group access choices
11
18
Quote
All times are EST. The time is now 10:32 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