Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 10 years ago

Last modified 10 years ago

#4789 closed enhancement (fixed)

Allow default admin menu in Groups component to be editiable.

Reported by: DennisSmolek Owned by:
Priority: normal Milestone:
Component: Groups Version: 2.6.0
Severity: normal Keywords:
Cc:

Description

Currently when you use the default groups component there is no way to remove any of the subnav items under the admin tab.

For example:
My client wants to remove the "Delete" function from the admin menu for non site admins. They can change other admin parts but she doesnt want them to be able to do this. Currently there is no way to resolve this easily without removing the core function totally. (bp_group_admin_tabs)

I suggest either passing an exclude option when calling the function or running a filter with an array of included tabs.

Yes, its not hard to copy/paste the code without the tabs but its a ton of extra unnecessary code.

Change History (4)

#1 @DennisSmolek
13 years ago

  • Version1.7

#2 @boonebgorges
13 years ago

  • Keywords needs-patch added
  • Milestone Awaiting ReviewFuture Release

Good idea. It would be nice if we used our own API for this - bp_core_new_subnav_item(). DennisSmolek, want to take a swing at a patch?

#3 @dcavins
10 years ago

  • Keywords needs-patch removed
  • Resolutionfixed
  • Status newclosed
  • Version 1.72.6.0

The navigation API, introduced in r10745, v2.6, addresses this.

#4 @slaFFik
10 years ago

  • Milestone Future Release
Note: See TracTickets for help on using tickets.