[Bb-trac] [bbPress] #702: New bb_role should be able to extend
existing role
bbPress
bb-trac at lists.bbpress.org
Sat Jul 21 23:12:19 GMT 2007
#702: New bb_role should be able to extend existing role
-------------------------+--------------------------------------------------
Reporter: fel64 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Back-end | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
It should be possible, that is, by calling a simple function, to create a
new user object that sort of extends a previous object. (Also admin'ing
roles should be in the admin pages.) As in, someone on the forums wanted
to create a new type of user to access the private part of the forums, he
wanted a new user type and presumably he wants them to have at least the
same capabilities as members. So he should be able to say,
{{{
add_extending_role($role, $extends, $additional_caps, $display_name);
}}}
and get a new user role that's exactly the same as a Member but it has
those additional capabilities.
--
Ticket URL: <http://trac.bbpress.org/ticket/702>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list