#4789 closed enhancement (fixed)
Allow default admin menu in Groups component to be editiable.
Reported by: | DennisSmolek | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.6.0 |
Component: | Groups | 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)
#2
@
12 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future 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?