[buddypress-trac] [BuddyPress] #4296: Base xprofile field Name(primary) and visibility when logged in as superadmin

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jul 18 18:16:33 UTC 2012


#4296: Base xprofile field Name(primary) and visibility when logged in as
superadmin
--------------------------------------------------+-----------------------
 Reporter:  imath                                 |       Owner:
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:  1.6
Component:  Core                                  |     Version:  1.6-beta
 Severity:  critical                              |  Resolution:  fixed
 Keywords:  has-patch needs-testing dev-feedback  |
--------------------------------------------------+-----------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [6185]) Improves current_user_can( 'bp_moderate' ) implementation for
 1.6 release

 The newly introduced bp_moderate cap must be manually added to the
 Administrator role on order for it to work properly under the current
 implementation of BP caps, wherein they are not stored in the database
 like
 other caps.

 This is a workaround, which will be reverted for BP 1.7.

 Allows other caps passing through bp_current_user_can() to be evaluated
 properly, without being overridden for super admins.

 Fixes #4296

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4296#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list