[buddypress-trac] [BuddyPress] #3046: Add Proper access to members options menu items

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Feb 3 20:12:25 UTC 2011


#3046: Add Proper access to members options menu items
-------------------------+-----------------------------
 Reporter:  sbrajesh     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:  1.3
 Keywords:               |
-------------------------+-----------------------------
 Hi,
 As of now, we check the access of an option menu in theme and show it. For
 making it more uniform we can use the "user_has_access" arg while adding
 item, so  a theme can easily use bp_get_options_nav in more effective
 manner.
 While the message and the settings component follow it properly, other
 components as groups/friends/profile do not follow it.

 Here is a patch for that. It will allow a theme author to use
 bp_get_options_nav() without checking for proper rights and will give
 flexibility in theme design.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3046>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list