| User | Post |
|
11:14 pm 28 Oct 2007
| ovizii
Guest
| | | |
|
| |
|
|
could find nothing inside this subforum regarding roles so here goes my proposal:
include roles, i.e. I could give a user a role to manage forums and create new forums or create new groups.
what do you think? useful feature or not?
|
|
|
11:31 pm 28 Oct 2007
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 481 |
|
|
Idea is sound.
I’d vote yes.
concern: some people might not like the access granted in the remainder of the blog.
possible solution: Optional additional roles field (goes back to the extra data fields I wanted in another post) Admin can select WP roles or SF roles to be used in the forums.
|
|
|
11:36 pm 28 Oct 2007
| ovizii
Guest
| | | |
|
| |
|
|
I saw a nice implementation inside nextgen gallery: http://alexrabe.boelinger.com/?page_id=80
baasically it comes with a bunch of roles all preset to admin. if you want to grant access to someone to a certai naprt of the gallery, you can modify i.e. from admin to editor so editors have access to i.e. creation of forums.
or assign the roles manually to a certain user using the role manager plugin if you don’t want i.e. al editors to have access only a certain one.
|
|
|
11:53 pm 28 Oct 2007
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 481 |
|
|
I could see where that would solve all sorts of problems.
|
|
|
|
|
Roles don’t have to have a knock on effect across your whole system. New roles can be defined that are very specific.
|
|
|
7:28 pm 18 Dec 2007
| iPeat
Guest
| | | |
|
| |
|
|
a long this same topic I can create new roles using role manager but when I assign that new role to a new group they still have access to any forum of a group with the same access level. And if I give them a higher security they can see any forum with a lower access level. I was thinking that I could just add a new capability for each group but it would be really nice to have it tied into the admin
|
|
|
8:22 pm 18 Dec 2007
| iPeat
Guest
| | | |
|
| |
|
|
Nevermind I just need to alter the sf_user_allowed function to the following
{
global $user_ID;
get_currentuserinfo();
if(($itemrole == ‘public’) || (empty($itemrole))) return true;
// if not a logged in user disallow
if(” == $user_ID) return false;
// Get level of item ($itemrole)
$itemlevel = sf_get_level($itemrole);
// Get level of users role
$userrole=sf_get_user_role($user_ID);
$userlevel = sf_get_level($userrole);
if($userlevel >= $itemlevel)
{
if($userlevel == $itemlevel)
{
if($userrole == $itemrole)
{
return true;
} else {
return false;
}
} else {
return true;
}
} else {
return false;
}
}
maybe you could add this to your next version
now i just need group specific moderators
|
|
|
|
|
The next version of SF incorporates an extremely flexible and extensible user group and permission system. There was not really much point in using the WP roles system which is a bit of a mess.
This will also allow you to set moderators at group and/or forum level.
|
|