#4440 closed enhancement (fixed)
Profile field visibility only to admins
Reported by: | mahdiar | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 1.7 | Priority: | normal |
Severity: | normal | Version: | 1.6 |
Component: | Extended Profile | Keywords: | needs-testing has-patch |
Cc: |
Description
Hi
A setting should be add to change Profile field visibility only to admins .
I mean only admins can see some of the profile fields .
Thanks
Attachments (1)
Change History (11)
#1
@
12 years ago
- Keywords 2nd-opinion added
- Milestone changed from Awaiting Review to 1.7
- Owner set to boonebgorges
- Status changed from new to assigned
#2
@
12 years ago
Thanks.
I think it is necessary to collect some important personal information . For example I'd like to collect my users' cell phone number . Maybe they don't like others to know their number .
#4
@
12 years ago
Seems to be a reasonably popular request: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-add-a-nobody-option-in-the-profile-privacy-options/?#post-137932
#5
@
12 years ago
I agree that this is a good idea. And one I just bothered Boone about via e-mail, when I should have looked here first.
#7
@
12 years ago
Attached a patch for review; it adds add a "admins only" visibility setting which uses a bp_current_user_can( 'bp_moderate' )
check.
#8
@
12 years ago
This looks good to me (aside from the if/else comment positions, which I find loathsome ;)
#10
@
12 years ago
I want to gauge if others think it would be useful.
Question:
When using multisite, is each user who creates their own blog an admin, thus giving them permission to view the 'admins only' fields?
Also if using the multi-network plugin would that mean that each admin from all the networks have permission to view the 'admins only' fields?
Maybe the intent would be just as well served using is_super_admin()?
I've gotten a lot of requests for this, so I'm going to move it to 1.7 for further discussion. It's easy enough to add; I want to gauge if others think it would be useful.